so i know the answer for $\int{\frac{x \, dx}{(x+b)^{2}}} \quad \textrm{is} \quad \frac{b}{x+b} + ln|x+b| $
But i tried integration by parts and obtained the following, Setting $ u= x, \, du=dx, \, dv = \frac{dx}{(x+b)^{2}}, \, v=\frac{-1}{x+b} $
$ \int{\frac{x \, dx}{(x+b)^{2}}}= \frac{-x}{x+b} + ln|x+b|$
Does it have anything to do with any possible singularities in the integrand?