The integral is
.
Rewrite the integral as
.
Solve the integral
by using partial fractions.
.

Cancel the common terms.
\
Equate
coefficients.
Equate constant terms.
\
Substitute
in
.

.
Substitute
and
in
.
.
.
Apply integration formula
.
Apply quotient rule logarithms
.

.
.