solving logarithmic exponential equations