A triangle has an angle that measures 35 degrees. The other two angles are in a ratio of 14:15. What are the measures of those two angles?