Lời giải:
ĐK: $x\geq \frac{-18}{7}$
PT $\Leftrightarrow x^2+3x-4-3(\sqrt{x+3}-2)-(\sqrt{7x+18}-5)=0$
$\Leftrightarrow (x-1)(x+4)-3.\frac{x-1}{\sqrt{x+3}+2}-\frac{7(x-1)}{\sqrt{7x+18}+5}=0$
$\Leftrightarrow (x-1)\left(x+4-\frac{3}{\sqrt{x+3}+2}-\frac{7}{\sqrt{7x+18}+5}\right)=0$
Xét các TH:
Nếu $x-1=0\Rightarrow x=1$ (thỏa mãn)
Nếu $x+4-\frac{3}{\sqrt{x+3}+2}-\frac{7}{\sqrt{7x+18}+5}=0$
$\Leftrightarrow (x+2)+1-\frac{3}{\sqrt{x+3}+2}+1-\frac{7}{\sqrt{7x+18}+5}=0$
$\Leftrightarrow x+2+\frac{\sqrt{x+3}-1}{\sqrt{x+3}+2}+\frac{\sqrt{7x+18}-2}{\sqrt{7x+18}+5}=0$
\(\Leftrightarrow (x+2)+\frac{x+2}{(\sqrt{x+3}+1)(\sqrt{x+3}+2)}+\frac{7(x+2)}{(\sqrt{7x+18}+2)(\sqrt{7x+18}+5)}=0\)
\(\Leftrightarrow (x+2)\left( 1+\frac{1}{(\sqrt{x+3}+1)(\sqrt{x+3}+2)}+\frac{7}{(\sqrt{7x+18}+2)(\sqrt{7x+18}+5)}\right)=0\)
Dễ thấy biểu thức trong ngoặc lớn luôn dương nên $x+2=0\Leftrightarrow x=-2$
Vậy $x=-2$ hoặc $x=1$