In this example we are multiplying two binomials so FOIL method can be used.
$$ \begin{aligned} \left( \color{blue}{ 6n+8}\right) \cdot \left( \color{orangered}{ 4n+8}\right) &= \underbrace{ \color{blue}{6n} \cdot \color{orangered}{4n} }_{\text{FIRST}} + \underbrace{ \color{blue}{6n} \cdot \color{orangered}{8} }_{\text{OUTER}} + \underbrace{ \color{blue}{8} \cdot \color{orangered}{4n} }_{\text{INNER}} + \underbrace{ \color{blue}{8} \cdot \color{orangered}{8} }_{\text{LAST}} = \\ &= 24n^2 + 48n + 32n + 64 = \\ &= 24n^2 + 48n + 32n + 64 = \\ &= 24n^2+80n+64; \end{aligned} $$