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