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