z = 104
The angle opposite z is 104, so therefore z must be equal to the opposite angle.
x = 2
We know angles on a straight line add up to 180. We already know that there are two angles, one of which is 104.
180-104 is 76.
Next, we put this value into an equation:
76 = 13x + 50
76 -50 = 13x
26 = 13x
2 = x