Compute the following integral.

First, we simplify the integrand and then use partial fractions,

To evaluate the second integral we use partial fractions. We have

Therefore, we write

Then we have the equation

Equating like powers of we then have four equations and four unknowns:

Solving this system we find , and . Therefore, we have