Rewrite $ a^{6}-36 $ as:
$$ a^{6}-36 = (a^{3})^2 - (6)^2 $$Now we can apply the difference of squares formula.
$$ I^2 - II^2 = (I - II)(I + II) $$After putting $ I = a^{3} $ and $ II = 6 $ , we have:
$$ a^{6}-36 = (a^{3})^2 - (6)^2 = ( a^{3}-6 ) ( a^{3}+6 ) $$