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