Look up "Order of Operations."Guess it just works, you get the same numbers when you run em through like Larry Fine pointed out.
And more praise to Whitney, that post should be a sticky in a math forum.
We learned the acronym "Please Excuse My Dear Aunt Sally." = Parentheses, Exponents, Multiplication/Division, Addition/Subtraction