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