Theo Viet: \(x_1+x_2=-2\left(m-2\right)\)
Do \(ac=-m^2-5< 0\) \(\forall m\Rightarrow\) pt luôn luôn có 2 nghiệm trái dấu
Mà \(x_1< x_2\Rightarrow\left\{{}\begin{matrix}x_1< 0\\x_2>0\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}\left|x_1\right|=-x_1\\\left|x_2+1\right|=x_2+1\end{matrix}\right.\)
\(\left|x_1\right|-\left|x_2+1\right|=5\)
\(\Leftrightarrow-x_1-x_2-1=5\)
\(\Leftrightarrow x_1+x_2=-6\)
\(\Leftrightarrow-2\left(m-2\right)=-6\Rightarrow m=5\)