multiplying two rational numbers