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