\(\left\{{}\begin{matrix}P\left(3\right)=3^2+2.3m+m^2=m^2+6m+9\\Q\left(-2\right)=2^2-.\left(-2\right)\left(2m+1\right)+m^2=m^2+4m+6\end{matrix}\right.\)
\(P\left(3\right)=Q\left(-2\right)\Rightarrow m^2+6m+9=m^2+4m+6\)
\(\Rightarrow2m=-3\Rightarrow m=-\dfrac{3}{2}\)