<=>\(\left\{{}\begin{matrix}x=5-y\\\left(5-y\right)^2-\left(5-y\right)y+y^2=7\left(1\right)\end{matrix}\right.\)
(1) => 25-10y+y2-5y+y2+y2=7
<=> 25-15y+3y2=7
<=> 25-7-15y+3y2=0
<=> 3(y2-5y+6)=0
<=> (y-3)(y-2)=0
<=> \(\left[{}\begin{matrix}y-3=0\\y-2=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}y=3\\y=2\end{matrix}\right.\)
+) với y=3 thì x=2
+) với y=2 thì x=3
vậy ....