Fraction division and solving problems