The integral is
.

Let
, then
.
Substitute corresponding values in
.

Solve the above integral by using partial fractions.
\Partial fractions decomposition.
\

Equate coefficients of
terms.

Equate constant terms.
\
If
, then
.
Substitute
and
in equation (1).


Apply formula :
.

Substitute
in above equation.

.
.