\(\left\{{}\begin{matrix}5x=5m\\y=2x-m+1\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=m\\y=10-m+1=11-m\end{matrix}\right.\)
Thay vào ta đc
\(2m^2-3\left(11-m\right)=2\Leftrightarrow2m^2-33+3m=2\Leftrightarrow2m^2+3m-35=0\Leftrightarrow m=\dfrac{7}{2};m=-5\)