Since angles 1 and 2 are vertical angles, they are equal to each other. We can set up the equation:
\[ x + 27 = 2x + 20 \]
Now, we'll solve for \(x\):
- Subtract \(x\) from both sides:
\[ 27 = x + 20 \]
- Subtract 20 from both sides:
\[ 27 - 20 = x \]
- Simplify:
\[ 7 = x \]
Thus, the value of \(x\) is
\[ \boxed{7} \]