Conversion to lowest terms with mixed numbers