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