We write the numerator as
and change the sign of 2 in x+2 and use -2
-2 | 1 0 0 0 0 32
| -2 4 -8 16 -32
1 -2 4 -8 16 0
We interpret the bottom line as coefficients
of a polynomial which is one degree less than
the original. So it will have degree 4
The quotient is
erase the 1 coefficient
Edwin