check the picture below.
recall that the division is done with the dividend and divisor sorted in descending order, notice the dividend has a jump from x³ to x, so the x² is missing, but is really there, but it has a coefficient of 0, as you see there in red, so we add any missing terms on either side.