simplifying fractions with exponents