The derivative of sec x is sec x tan x. Since there is an expression other than x inside the secant function, we need to use the chain rule. We basically do everything we normally would, but with an x2 instead of an x. But then we need to multiply by the derivative of x2, which is 2x.
So = 2x sec (x2) tan (x2).