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