Lời giải:
ĐKXĐ: \(x^2+5x+2\geq 0\)
PT \(\Leftrightarrow x^2+5x+4-3\sqrt{x^2+5x+2}-6=0\)
\(\Leftrightarrow (x^2+5x+2)-3\sqrt{x^2+5x+2}-4=0\)
\(\Leftrightarrow a^2-3a-4=0\) (đặt \(a=\sqrt{x^2+5x+2}; a\geq 0)\)
\(\Leftrightarrow (a-4)(a+1)=0\Rightarrow a=4\) (do $a\geq 0)$
\(\Rightarrow x^2+5x+2=16\)
\(\Leftrightarrow x^2+5x-14=0\)
\(\Leftrightarrow (x-2)(x+7)=0\Rightarrow \left[\begin{matrix} x=2\\ x=-7\end{matrix}\right.\) (đều thỏa mãn)