According to genetic theory, blood types MM, NM and NN should occur in a very large population with relative frequencies $\theta^{2},\ 2\theta(1-\theta),$ and $(1-\theta)^{2}$, where $\theta$ is the (unknown) gene frequency.
(a) Suppose that, in a random sample of size $n$ from the population, there are $x_{1},\ x_{2}$ and $x_{3}$ individuals of the three types respectively. Find an expression for $\hat{\theta}$ using moment method.
I know how to solve it by using ML, but I have no idea how to find a moment method estimator.