2. If $Ax = \lambda x$ then $A^2x = A(Ax) = A(\lambda x) = \lambda^2x$. So if $A^2 = A$ and $x\ne0$ it follows that $\lambda^2 = \lambda$.