derivative of tan(x) is sec(x)^2

Switched - to +