A quadrilateral has two angles that measure 180° and 45°. The other two angles are in a ratio of 10:17. What are the measures of those two angles?