$$\left\{\begin{matrix} x+y=6 \\ { x }^{ 2 } - { y }^{ 2 } =12 \end{matrix}\right.$$
$x=4$
$y=2$