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