In a geometry class, students are given the task to find the measure of two supplementary angles. One angle is three times the measure of the other angle. Set up and solve a linear equation to find the measures of both angles. Let's think step by step and output the final answer within \boxed{}.
user