Let's say

is the measure of the first angle and

is measure of the supplement of

. We know that supplementary angles add up to 180°, so

. We also know that

. Therefore,

. It follows that

, therefore, the first angle is 174° and the second angle is 6°.