We worked on a problem with exponents and algebra.

Logarithms can be very useful for these problems.

There are three basic properties which are often used, two of them were used in this problem.

The logarithm of a quotient is the logarithm of the numerator minus the logarithm of the denominator.

The logarithm of a product is the logarithm of the first term plus the logarithm of the second term.

And the logarithm of something with an exponent brings the exponent in front of the expression as a multiplication.