Simplifying expressions with addition and subtraction