Thay x=2 vào pt ta có:
\(\left(m^2+2m+3\right)x-6=0\\ \Leftrightarrow2\left(m^2+2m+3\right)-6=0\\ \Leftrightarrow2m^2+4m+6-6=0\\ \Leftrightarrow2m+4m=0\\ \Leftrightarrow2m\left(m+2\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}m=0\\m=-2\end{matrix}\right.\)
Vậy ...