We have that angles 1 and 2 are supplemetary angles, therefore the sum of both of them must equal to 180, so:
Now that we found the value for x, we simply substitute in the original values of angles 1 and 2 to find their measures:
Therefore, angle 1 is 74 degrees and angle 2 is 106 degrees