(x+2)^2=0
\((x+2)^2=0\)
Take square root of both sides (I.e. square root of 0 is 0
\(x+2=0\)
\(x=-2\)