Solving equations with the order of operations