How do you factor out y=x^3-9x^2+9

Ya got me - any rational roots must be ±1 or ±3, which they are not.

A polynomial solver shows roots at approximately

-0.951, 1.065, 8.886