Factor the polynomial.

3x^3-12x^2+27x

To factor the polynomial 3x^3 - 12x^2 + 27x, we can first factor out the greatest common factor, which is 3x:

3x(x^2 - 4x + 9)

Next, we need to factor the quadratic expression x^2 - 4x + 9. This can be factored as:

(x - 3)(x - 3)

So, the factored form of the polynomial is:

3x(x - 3)(x - 3)