MapleMultFactor.mws
>
expand((D-2)*(D+3)*(D-1)*(2*D+5));
>
factor(2*D^4+5*D^3-14*D^2-23*D+30);
>