1(x+2)(1+x)^2dx has the value
A. \(2\log (\frac{x+2}{{x}^{2}+1})+4{\tan }^{-1}x+c\), where \(c\) is a constant of integration.
B. \(\log \frac{x+2}{{x}^{2}+1}-4{\tan }^{-1}x+c\), where \(c\) is a constant of integration.
C. \(\log \frac{(x+2{)}^{2}}{({x}^{2}+1)}+4{\tan }^{-1}x+c\), where c is a constant of integration.
D. None of the above