>>723
x^6+2x^5-38x^4+228x^2+72x-216
=(x^2 + 6 x - 6) (x^2 - 2 x - 6)^2