what do i do with a negative exponent
It's just 1 divided by the variable/constant to the absolute value of the exponent
Example:
x^(-5) = 1/x^5