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 \color{orangered}{10} }_{\text{OUTER}} + \underbrace{ \color{blue}{1} \cdot \color{orangered}{3x} }_{\text{INNER}} + \underbrace{ \color{blue}{1} \cdot \color{orangered}{10} }_{\text{LAST}} = \\ &= 18x^2 + 60x + 3x + 10 = \\ &= 18x^2 + 60x + 3x + 10 = \\ &= 18x^2+63x+10; \end{aligned} $$