Order of operations and simplifying expressions