Solving equations with inverse operations