Two angles form a linear pair. The measure of one angle is three times the measure of the other angle. Find the measure of each angle.