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