Rewrite $ 49m^2-100p^2 $ as:
$$ \color{blue}{ 49m^2-100p^2 = (7m)^2 - (10p)^2 } $$Now we can apply the difference of squares formula.
$$ I^2 - II^2 = (I - II)(I + II) $$After putting $ I = 7m $ and $ II = 10p $ , we have:
$$ 49m^2-100p^2 = (7m)^2 - (10p)^2 = ( 7m-10p ) ( 7m+10p ) $$