Divide (3x^2-2x^3-1)/(x+2)