One angle of a triangle measures 120°. The other two angles are in a ratio of 5:7. What are the measures of those two angles