integrate [(x-1)(2x^3+2x^2+3x+2)]dx /[x^3 (x+1)]