Write an equation that will solve this problem: Two angles are supplementary. If the measure of the second angle is 3 times the sum of the measure of the first angle and 25, find the measures of the two angles.