\(\Delta'=\left(m+3\right)^2-\left(m^2-3\right)=m^2+6m+9-m^2+3=6m+12\)
Để pt có 2 nghiệm khi m >= -2
Theo Vi et \(\left\{{}\begin{matrix}x_1+x_2=-2\left(m+3\right)\\x_1x_2=m^2-3\end{matrix}\right.\)
\(\left(x_1+x_2\right)^2-3x_1x_2=22\Leftrightarrow4\left(m+3\right)^2-3m^2+9=22\)
\(\Leftrightarrow m^2+24m+23=0\Leftrightarrow m=-1\left(tm\right);m=-23\left(l\right)\)