You can
put this solution on YOUR website!The rule is:

The negative in the exponent effects whether the base becomes a numerator or denominator. If it's a denominator and it has a negative exponent it becomes a numerator with a positive exponent. If it's a numerator with a negative exponent, it becomes a denominator with a positive exponent.
It also depends on how it is written:

But if it is written like this:

I hope that answers your question.
Happy Calculating!!!!