t:x^4+2*x^3-3*x^2-8*x-4;

factor(t);