Write out the form of the partial fraction decomposition of the function

Write out the form of the partial fraction decomposition of the function (as in Example 7) . Do not determine the numerical values of the coefficients.
(a) x4 - 2x 3 + x2 + 2x - 1 / x 2 - 2x + 1
(b) x2 - 1 / x3 + x2 + x