\(x^3+27+\left(x+3\right)\left(x-9\right)=0\)
\(\Rightarrow\left(x^3+27\right)+\left(x+3\right)\left(x-9\right)=0\)
\(\Rightarrow\left(x+3\right)\left(x^2-3x+9\right)+\left(x+3\right)\left(x-9\right)=0\)
\(\Rightarrow\left(x+3\right)\left(x^2-3x+9+x-9\right)=0\)
\(\Rightarrow\left(x+3\right)\left(x^2-2x\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x+3=0\\x^2-2x=0\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}x=-3\\x\left(x-2\right)=0\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}x=-3\\x=0\\x-2=0\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}x=-3\\x=0\\x=2\end{matrix}\right.\)
Vậy \(x\in\left\{-3;0;2\right\}\)