A triangle has an angle that measures 145°. The other two angles are in a ratio of 2:5. What are the measures of those two angles?