To find the value of x, we need to isolate it on one side of the equation. Starting with the given equation, we subtract 3 from both sides to get 2x = 12. Then, we divide both sides by 2 to solve for x, which gives us x = 6. Therefore, the value of x is 6.