In this example we are multiplying two binomials so FOIL method can be used.
$$ \begin{aligned} \left( \color{blue}{ -2x-9}\right) \cdot \left( \color{orangered}{ x^6-1}\right) &= \underbrace{ \left( \color{blue}{-2x} \right) \cdot \color{orangered}{x^6} }_{\text{FIRST}} + \underbrace{ \left( \color{blue}{-2x} \right) \cdot \left( \color{orangered}{-1} \right) }_{\text{OUTER}} + \underbrace{ \left( \color{blue}{-9} \right) \cdot \color{orangered}{x^6} }_{\text{INNER}} + \underbrace{ \left( \color{blue}{-9} \right) \cdot \left( \color{orangered}{-1} \right) }_{\text{LAST}} = \\ &= -2x^7 + 2x + \left( -9x^6\right) + 9 = \\ &= -2x^7 + 2x + \left( -9x^6\right) + 9 = \\ &= -2x^7-9x^6+2x+9; \end{aligned} $$