Source: Discrete Mathematics with Applications, Susanna S. Epp.
What does the unique factorization of integers have to do with gcd $2^{10}$ of ($10^{20}, 6^{30}$) in Example 4.8.5.b? Contrary to 4.8.5.b, the author doesn't mention the unique factorization of integers in the solution of Example 4.8.5.a.



It's really the same method in both cases...for small numbers you can generally read off the factors without much fuss. Here they are just noting that $72=2^3\times 3^2$ and $63=3^2\times 7$.
For large numbers this can be a lot harder. Happily for your second example, the fact that the numbers are written as powers of small numbers make the factoring easy. For general large numbers this is usually a very hard problem. In those cases we can get the gcd via the Euclidean algorithm, without fully factoring the original numbers.