How do you simplify logarithm equations?