Solving Logarithmic and Exponential Equations