\(\Leftrightarrow\left\{{}\begin{matrix}mx+2y=18\\2x-2y=-12\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}\left(m+2\right)x=6\\y=x+6\end{matrix}\right.\)
Để hệ có nghiệm duy nhất \(\Leftrightarrow m\ne-2\)
Khi đó ta có: \(\left\{{}\begin{matrix}x=\frac{6}{m+2}\\y=\frac{6}{m+2}+6\end{matrix}\right.\)
\(2x+y=9\Leftrightarrow\frac{12}{m+2}+\frac{6}{m+2}+6=9\)
\(\Leftrightarrow\frac{18}{m+2}=3\Rightarrow m+2=6\Rightarrow m=4\)