Exponential and logarithmic equation