how to evaluate fractions with powers