Suppose we have a polynomial of the form:
$$-x^3+3x^2+9x-27=0$$
Is there an easy way to find the solutions of $x$? I know that they will be factors of $27$, so I begin by factoring $27$ into $1,3,9,27$. I found that $1$ is not a root and $3$ is, so I know that the equation has a factored term $(x-3)$. However, solving the equation using $9$ and $27$ is very tedious and error-prone by hand. Is there a way I can easily find the roots here?
HINT:
We have
$-(-x^3+3x^2+9x-27)$
$=x^3+3^3-3x(x+3)$
$=(x+3)(x^2-3x+3^2)-3x(x+3)$
$=(x+3)\{x^2-3x+3^2-3x\}$
$=(x+3)(x-3)^2$