I'm having trouble finding the derivative of this function: x(3x - 9)^3

The answer is 27(x-3)^2 (4x - 3) but I don't know how to get there. It would be very much appreciated if anyone can provide a step-by-step solution to how they got to the answer. It doesn't have to be too detailed.

Thanks in advance.