Trừ vế cho vế:
\(x^2+xy-3x-y=-2\)
\(\Leftrightarrow x^2+\left(y-3\right)x-y+2=0\)
\(\Delta=\left(y-3\right)^2-4\left(-y+2\right)=\left(y-1\right)^2\)
\(\Rightarrow\left[{}\begin{matrix}x=\dfrac{-y+3+y-1}{2}=1\\x=\dfrac{-y+3-y+1}{2}=-y+2\end{matrix}\right.\)
\(\Rightarrow...\)