$$\log_b(xy) = \log_b x + \log_b y,\qquad \log_b\!\left(x^k\right) = k\log_b x,\qquad \log_b x = \frac{\log_c x}{\log_c b}.$$
Logarithms turn multiplication into addition and exponents into multipliers, which is exactly what you need to solve equations where the unknown sits in an exponent.