The integral is .
Since the degree of the numerator is equal to the degree of the denominator, use long division to rewrite the polynomial.
\Therefore .
Rewrite the integral.
\
.
Consider the first integral: .
.
Consider the second integral: .
.
Consider the third integral : .
Let then
.
Basic integral formula: .
.
Substitute .
.
Substitute the each integral result in the integral.
\.
.
.