Remember that $$k^{log_k x} = x$$. And if x=y, then $$k^x = k^y$$. You can use exponentiation to remove pesty logarithms from equations.