Let the measure of the second angle be x.
The first angle has measure 3x - 34.
The sum of the measures is 180.
x + 3x - 34 = 180
4x - 34 = 180
4x = 214
x = 53.5
The second angle has measure 53.5 deg.
3x - 34 = 3 * 53.5 - 34 = 160.5 - 34 = 126.5
The measure of the first angle is 126.5 deg.
Answer: The measures are 126.5 deg and 53.5 deg.