Multiplying and dividing rational fractions in algebra