The integral is
.
Here
contains irreducible quadratic factors.
Therefore,
\
Equate coefficients of like terms on each side.
\
Solve the above system of equations.
\If
, then

.

Substitute
and
in 

Substitute
,
,
and
in the equation(1).

The integral is
.

.
.