Xét \(y=0\)\(\Rightarrow...\)
Xét \(y\ne0\). Ta có:
\(\left\{{}\begin{matrix}x^2+y^2+xy+2x=5y\\\left(x^2+2x\right)\left(x+y-3\right)=-3y\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}x^2+2x=5y-y^2-xy\left(1\right)\\\left(x^2+2x\right)\left(x+y-3\right)=-3y\left(2\right)\end{matrix}\right.\)
Thay (1) vào (2), ta có:
\(\left(5y-y^2-xy\right)\left(x+y-3\right)=-3y\)
\(-y\left(x+y-5\right)\left(x+y-3\right)=-3y\)
\(\Leftrightarrow\left(x+y-5\right)\left(x+y-3\right)=3\left(\cdot\right)\)
Đặt \(x+y-5=t\), phương trình \(\left(\cdot\right)\) trở thành
\(t\left(t+2\right)=3\)\(\Leftrightarrow t^2+2t+1=4\Leftrightarrow\left(t+1\right)^2=4\)
\(\Leftrightarrow\left[{}\begin{matrix}t+1=2\\t+1=-2\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}t=1\\t=-3\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x+y-5=1\\x+y-5=-3\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x+y=6\\x+y=2\end{matrix}\right.\)\(\Rightarrow...\)