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