Multiplication of algebraic fractions