Answer
$x=-4$
$y=-6$
Work Step by Step
Two matrices are equal only if the values in the same position are equal. That is, if $A=B$, $a_{11}=b_{11}, a_{12}=b_{12},a_{21}=b_{21},...,a_{ij}=b_{ij}$
$x+2=2x+6$
$x-2x=6-2$
$-x=4$
$x=-4$
$y+2=x$
$y+2=-4$
$y=-4-2$
$y=-6$