You should have divided 6/2 instead of multiplying 2(3). The mistake I think you're making is you're thinking of 6 being over everything after it like
6
---
2(3)
But that isn't the case, it's really (6/2)*3. Or
(6*3)
----
2

How do you come up with that assumption?
Original equation was : 6 / 2 (1+2) = x
Which means:
6
-------
2(1+2)
Just like a book, math is read left to right. With the addition of the parenthesis to 1+2 you have to assume that the 2 is attached, and you must complete the equation on the bottom before proceeding to divide.
In order for the equation to work as you state is would have to look like this:
(6/2)(1+2) = x
Then! Would x = 9, but because there is an absence of a parenthesis around the 6/2, you must assume the equation as I stated above.