How do you take the derivative of tan^2(3x)?