how to apply the rules of exponents