\(\left\{{}\begin{matrix}3x=3m+3\\y=3m-2-x\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=m+1\\y=3m-2-m-1=2m-3\end{matrix}\right.\)
Thay vào ta được \(\left(m+1\right)^2-5\left(2m-3\right)=9\)
\(\Leftrightarrow m^2+2m+1-10m+15=9\Leftrightarrow m^2-8m+16-9=0\)
\(\Leftrightarrow\left(m-4\right)^2-9=0\Leftrightarrow\left(m-7\right)\left(m-1\right)=0\Leftrightarrow m=1;m=7\)