Order of operations... the answer is 2.
http://en.wikibooks.org/wiki/Algebra/Order_of_Operations
Are you following some other set of rules.