\(\Delta=9-4\left(m+4\right)>0\Rightarrow m< -\dfrac{7}{4}\)
Theo hệ thức Viet: \(\left\{{}\begin{matrix}x_1+x_2=3\\x_1x_2=m+4\end{matrix}\right.\)
\(x_2\left(x_2-1\right)+x_1\left(x_1-1\right)=2\)
\(\Leftrightarrow x_1^2+x_2^2-\left(x_1+x_2\right)=2\)
\(\Leftrightarrow\left(x_1+x_2\right)^2-2x_1x_2-\left(x_1+x_2\right)-2=0\)
\(\Leftrightarrow9-2\left(m+4\right)-3-2=0\)
\(\Leftrightarrow m=-2\) (thỏa mãn)