Angles 1 and 2 form vertical angles. Vertical angles occur when two straight lines intersect, we get:
The vertical angles theorem tells us that:

If angles 1 and 2 form vertical angles, then:

Since:

Then:

Now, we can solve for x:

We can find the values of the angles:

Thus, the answer is:
Where:

The value of the variable is x = 1