Express
2x3+5x2+3x+4(x+1)2\displaystyle \frac{2x^3 + 5x^2 + 3x + 4}{(x + 1)^2}(x+1)22x3+5x2+3x+4
in the form
Ax+B+Cx+1+D(x+1)2\displaystyle Ax + B + \frac{C}{x + 1} + \frac{D}{(x + 1)^2}Ax+B+x+1C+(x+1)2D
where AAA, BBB, C C\,C and D D\,D are integers.