With polynomials you do the same, only now you have to divide the higher order terms (first term of the numerator divide by the first term of the denominator).

Let’s start with a simple example (click here):

Here’s another example this time with multiple iterations (click here):

Cheers,

Michal