The answer is 6.
First you, subtract 2x from both sides of the equation, which makes 4=x-2. Then, you add 2 to both sides, leaving you with 6=x.