Apply multiplication and division rules