Solving Logarithmic and Exponential Equations and Inequalities