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