x=4.
You want to get the 3x by it's self, so subtract 2 from both sides and you would get 3x=12. divide each side by 3 and you get x=4