x^3-10x^2+27x-18