what is the difference between exponents inside and outside parentheses?
If the base is in parentheses, as in our first case, the exponent affects everything that is inside the parenthesis, that is, the sign and the number. However, if the base is not in parentheses, as in the second case, the exponent affects only the immediate value to the left, that is, only the number, without the sign.