Arrange the dividend and divisor in descending powers of the variable
Divide the leading term of the dividend by the leading term of the divisor
Write the result as the next term of the quotient
Multiply the entire divisor by that term
Subtract the result from the current polynomial
Bring down the next term
Repeat the divide, multiply, subtract, and bring down steps
Continue until the remainder has a lower degree than the divisor
Write the answer as quotient plus remainder over divisor if there is a remainder
