Multiply and divide algebraic fractions.