factor -1 + 3 x + 6 x^3 + 4 x^4