By the polynomial remainder theorem, the first polynomial remainder is . Equating it to gives .
For the separate polynomial long division, successively cancel the leading powers of the dividend. Subtracting leaves ; subtracting leaves ; subtracting leaves . Thus
The polynomial remainder also equals the dividend evaluated at .