Two angles are a linear pair. The measure of one angle is 10 more than 25% of the other. Find the measures of both angles.