Ta có: \(\left(x-3\right)^3-\left(x-3\right)\left(x^2+3x+9\right)+9\left(x+1\right)^2=15\)
\(\Leftrightarrow x^3-9x^2+27x-27-x^3+27+9\left(x^2+2x+1\right)=15\)
\(\Leftrightarrow-9x^2+27x+9x^2+18x+9=15\)
\(\Leftrightarrow45x=6\)
hay \(x=\dfrac{2}{15}\)