2x^6-12x^5+18x^4+3x^2-18x+27