# How can $\int \frac{dx}{(x+a)^2(x+b)^2}$ be found?

Could you please suggest any hints or methods for solving $\int \frac{dx}{(x+a)^2(x+b)^2}$. I have used partial fractions to solve this integral but it is too long and complex solution. I'd like to know a simpler solution.
EDIT: $a\not= b$

Use $a-b=x+a-(x+b)$ and $$(a-b)^2=\{(x+a)-(x+b)\}^2=\cdots$$
$$\frac{1}{(x+a)^2 (x+b)^2 } = \frac{-2}{(a - b)^3 (b + x) } + \frac{1}{(a - b)^2 (b + x)^2} + \frac{2}{(a - b)^3 (a + x)} + \frac{1}{(a - b)^2 (a + x)^2}$$ by partial fraction decomposition.