This polynomial has terms up to the 7th power, but it has a missing term between x^7 and x^5- the term with x^6, so when dividing, we write down 0x^6 as that’s equivalent to the missing x^6 term and makes it easier to divide.
For the rest of the steps, please check the photo below: