Arrange both polynomials in descending powers of the variable
Insert missing terms with zero coefficients
Divide the leading term of the dividend by the leading term of the divisor
Write the result above the division bar
Multiply the divisor by that result
Subtract the product from the current polynomial
Bring down the next term
Repeat the divide, multiply, subtract, and bring down steps
Continue until the remainder has a degree less than the divisor
Write the quotient and remainder as the final result
Express the answer as quotient plus remainder over divisor if needed
