x^3(x+1)^2dx=
A. \(\frac{{x}^{2}}{2}-2x+3\log (x+1)+\frac{1}{x+1}+c\) where c is the constant of integration
B. \(\frac{{x}^{2}}{2}+2x-3\log (x+1)+\frac{1}{x+1}+c\) where c is the constant of integration
C. \(\frac{{x}^{2}}{2}-2x+3\log (x+1)-\frac{1}{x+1}+c\), where c is the constant of integration
D. \(\frac{{x}^{2}}{2}-2x-3\log (x+1)-\frac{1}{x+1}+c\), where c is the constant of integration