Solving division of fractions