Solve an exponential equation using logs