Answer
$-\cos \theta +\theta +C$
Work Step by Step
Integrate. $\int (\cos \theta \tan \theta) d\theta + \int (\cos \theta \sec \theta) d\theta $
Thus, $\int (\cos \theta \tan \theta) d\theta + \int (\cos \theta \sec \theta) d\theta=\int [\cos \theta (\dfrac{\sin \theta}{\cos \theta}) d\theta + \int \cos \theta (\dfrac{1}{\cos \theta})] d\theta$
or, $=-\cos \theta +\theta +C$