Solving an exponential equation by taking the log of both sides