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