Solve the division problem