ĐK: \(-3\le x\le6.\)
Đặt \(\hept{\begin{cases}\sqrt{3+x}=a\\\sqrt{6-x}=b\end{cases}\Rightarrow\hept{\begin{cases}a^2+b^2=9\\a+b-ab=3\end{cases}\Rightarrow}\hept{\begin{cases}\left(a+b\right)^2-2ab=9\\\left(a+b\right)-ab=3\end{cases}}}\)
Đặt \(\hept{\begin{cases}a+b=u\\ab=v\end{cases}\left(u,v\ge0\right)\Rightarrow\hept{\begin{cases}u^2-2v=9\\u-v=3\end{cases}\Rightarrow}\hept{\begin{cases}u^2-2u-3=0\\v=u-3\end{cases}}}\)
\(\Rightarrow\hept{\begin{cases}u=3\\v=0\end{cases}\Rightarrow\hept{\begin{cases}a+b=3\\ab=0\end{cases}}}\)
Th1: \(\hept{\begin{cases}a=3\\b=0\end{cases}\Rightarrow\hept{\begin{cases}\sqrt{3+x}=3\\\sqrt{6-x}=0\end{cases}\Rightarrow}x=6\left(tmđk\right).}\)
Th2: \(\hept{\begin{cases}a=0\\b=3\end{cases}\Rightarrow\hept{\begin{cases}\sqrt{3+x}=0\\\sqrt{6-x}=3\end{cases}\Rightarrow}x=-3}\left(tmđk\right).\)
Vậy x = 6 hoặc x = -3.