How do you differentiate #f(x)=x sec kx^2 # using the chain rule?