If two angles form a linear pair and the measure of the first angle is three times the measure of the second angle, what is the measure of each angle?