Step 1 :
After factoring out $ 7 $ we have:
$$ 7n^{2}-7 = 7 ( n^{2}-1 ) $$Step 2 :
Rewrite $ n^{2}-1 $ as:
$$ n^{2}-1 = (n)^2 - (1)^2 $$Now we can apply the difference of squares formula.
$$ I^2 - II^2 = (I - II)(I + II) $$After putting $ I = n $ and $ II = 1 $ , we have:
$$ n^{2}-1 = (n)^2 - (1)^2 = ( n-1 ) ( n+1 ) $$