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