\(\Leftrightarrow27-27x+9x^2-x^3=0\\ \Leftrightarrow3^3-3.3^2.x+3.3.x^2-x^3=\left(3-x\right)^3=0\)
\(\Rightarrow3-x=0\Rightarrow x=3\)
`x^3 -9x^2=27-27x`
`<=> x^3-9x^2-27+27x=0`
`<=>(x-3)^3=0`
`<=> x-3=0`
`<=>x=3`
__
`(x-3)^3`
`=x^3 - 3.x^2 . 3+3.x.3^2-3^3`
`=x^3 - 9x^2 + 27x -27`