I suppose you mean
, and if we multiply by we get . Subtracting this from the numerator gives a remainder of .
, and multiplying by gives . Subtracting this from the previous remainder gives a new remainder of .
has no remaining factors of in it, so we're done, and