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