Which of the following is the correct differentiation of the function g(x)=3x^(-3)(x^(4)-3x³+9x-7)?

A) 3x^(-4)(x^(4)-3x³+9x-7)
B) 3x^(-3)(4x³-9x²+9)
C) 3x^(-2)(x^(4)-3x³+9x-7)
D) 3x^(-3)(4x³-9x²+9x-7)