simplifying algebraic fractions with exponents