i am going to say 9. i think that 2(1+2) means 2*(1+2). the reason you get a different answer if you do
6
------
2(1+2)
is that that notation effectively makes 2 implicit parentheses there. that is just a notation for (6)/(2+(1+2)) or something, in my opinion.