Answer
$$y'=-2\tan\theta$$
Work Step by Step
$$y=\ln(\cos^2\theta)$$
The derivative of $y$ is $$y'=\Big(\ln(\cos^2\theta)\Big)'=\frac{1}{\cos^2\theta}\times(\cos^2\theta)'$$
$$y'=\frac{1}{\cos^2\theta}\times2\cos\theta\times(\cos\theta)'=\frac{2}{\cos\theta}\times(-\sin\theta)$$ $$y'=-\frac{2\sin\theta}{\cos\theta}=-2\tan\theta$$