(a)
\The expression is
.
Factorize the denominator.
\
is a linear factor repeated 3 times, hence write three partial fractions.
is square factor, not repeated, so write partial fraction with a linear numerator.

The partial fraction decomposition of the expression is
.
(b)
\The expression is
.
Factorize the denominator.
\
Using partial fractions formula
.

The partial fraction decomposition of the expression is
.
(a)
\The partial fraction decomposition of the expression is
.
(b)
\The partial fraction decomposition of the expression is
.