The integral is .
Apply long division.
.
Consider .
Solve the integral using partial fraction decomposition.
Compare coefficients.
Compare constant terms.
Substitute .
Subbstitute and in partial fraction decomposition.