Compute the following integral.

First, we factor the numerator and do some rearranging of the integral,

For the remaining integral we use partial fractions, writing

This gives us the equation

First, we evaluate at to obtain

Then we have

Equating like powers of we have and . Therefore,