Solve logarithmic equations with multiple logarithms