how to divide algebraic fractions