The definite integral is
.
The degree of numerator is equal to the degree of denominator,hence perform the long division.
\
The expression can be written as
.
.
Consider
then
.
Substitute
and
in the above equation.

Substitute
in the above equation.

.
.