$$\left\{\begin{matrix} x+2=0 \\ { x }^{ 2 } y=8 \end{matrix}\right.$$
$x=-2$
$y=2$