factor x^6+x^5-x^4+4x^3-12x^2+12