Angle 4 and 5 are alternate interior angles. Therefore, as the horizontal lines are parallel, they will have the same measure.
Then, we can write:

Answer: In order for the angle to have the same measure, then the value for x is x=12.
NOTE: angle 4 is vertical angle with angle 1, which is corresponding to angle 5. Thats why 4 and 5 have the same measure.