The integral is
.
Observe the integrand, it is an improper fraction.
\
.
Where
is quotient and
is remainder.




Consider
.
Factorize the denominator.
\
Partial fraction decomposition of 


Substitute
in above expression.


Substitute
in above expression (2).

Substitute
and
in equation (2).
.

Substitute above result in (1).
\
.
.