In this problem m and n are parallel lines, and the first angle is an exteriar angle an the secon is a interior angle.
this two condition give us that the two angles are complementary anlges so the sum of them should be 180 so:
and we can solve for x so: