Let's begin dividing the leading term of the dividend by the leading term of the divisor
Multiply it by the divisor
Subtract the dividend from the obtained result
Divide the leading term of the obtained remainder by the leading term of the divisor
Multiply it by the divisor
Subtract the remainder from the obtained result
Divide the leading term of the obtained remainder by the leading term of the divisor
Multiply it by the divisor
Subtract the remainder from the obtained result
since the degree of the remainder is less than the degree of the divisor, then we are done
The quotient is
The remainder is