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