Derivative of (Sec(z))^2

Let u = cos x

f(x) = u(x)^-2
df/dx = -2 u^-3* du/dx
= -2 sec^3 * (-sin x)
= 2 tan x sec^2 x