(a)
\The integration function is
.

The denominator has two distinct linear factors.
\The decomposition of the integration function is
.
(b)
\The integration function is
.
The degree of the numerator is greter than or equal to degree of denominator then perform the long division method.
\

The denominator of the function has no factors.
\Thus, the decomposition of the integration function is
.
(a)
\The decomposition of the integration function is
.
(b)
\The decomposition of the integration function is
.