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