simplify t^2(t+1)-t(2t^2-1)