Để \(x=-1\) là nghiệm
\(\Leftrightarrow a-b+c=0\Leftrightarrow1+2\left(3m+1\right)+2m^2-2m-5=0\)
\(\Leftrightarrow2m^2+4m-2=0\Rightarrow\left[{}\begin{matrix}m=1-\sqrt{2}\\m=1+\sqrt{2}\end{matrix}\right.\)
\(\Rightarrow x_2=-\frac{c}{a}=-2m^2+2m+5\Rightarrow\left[{}\begin{matrix}x_2=1+2\sqrt{2}\\x_2=1-2\sqrt{2}\end{matrix}\right.\)