First pass: 2x4÷2x2=x2, and x2(2x2+x)=2x4+x3; subtracting leaves −6x2+3x−7, still of degree 2, so the loop continues.
Second pass: −6x2÷2x2=−3, and −3(2x2+x)=−6x2−3x; subtracting leaves 6x−7, of degree 1<2: stop.
2x4+x3−6x2+3x−7=(2x2+x)(x2−3)+(6x−7)
The quotient is x2−3; its x coefficient is 0 because the degree-3 and degree-1 columns cancelled on their own.