Note that we can re-write this as
Taking logs to the base of both sides gives
Take the minus over to make it easier to deal with....
Now we know that thus we are left with
Taking logs of base again and using that same principle leads to
Using the fact that gives the required result.
Hope this helps.