Solving equations with addition/subtraction