Để PT có 2 nghiệm \(\Leftrightarrow\Delta=\left[2\left(m+2\right)\right]^2-4\left(m^2+4\right)\ge0\)
\(\Leftrightarrow4m^2+16m+16-4m^2-16\ge0\\ \Leftrightarrow m\ge0\)
Áp dụng Viét: \(\left\{{}\begin{matrix}x_1+x_2=2\left(m+2\right)\\x_1x_2=m^2+4\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x_1+x_2=2\left(m+2\right)\left(1\right)\\x_1x_2=m^2+4\left(2\right)\\x_1+2x_2=7\left(3\right)\end{matrix}\right.\)
\(\left(3\right)-\left(1\right)=x_2=3-2m\)
Thay vào \(\left(1\right)\Leftrightarrow x_1=2\left(m+2\right)-x_2=2m+4-3+2m=4m+1\)
Thay vào \(\left(2\right)\Leftrightarrow\left(3-2m\right)\left(4m+1\right)=m^2+4\)
\(\Leftrightarrow10m+3-8m^2=m^2+4\\ \Leftrightarrow9m^2-10m+1=0\\ \Leftrightarrow\left[{}\begin{matrix}m=1\\m=\dfrac{1}{9}\end{matrix}\right.\left(tm\right)\)