How do you find the derivative of 3^(x^2-2)?