\(\left\{{}\begin{matrix}x-y=2\left(1\right)\\x^2+y^2=10\left(2\right)\end{matrix}\right.\)
\(\left(1\right)\Leftrightarrow x=y+2\)
Thay vào \(\left(2\right)\Leftrightarrow\left(y+2\right)^2+y^2=10\Leftrightarrow y^2+2y-3=0\)
\(\Leftrightarrow\left[{}\begin{matrix}y=-3\Rightarrow x=-1\\y=1\Rightarrow x=3\end{matrix}\right.\)
Vậy \(\left(x;y\right)=\left(-1;-3\right);\left(3;1\right)\)