Answer
$\theta+\tan \theta +C$
Work Step by Step
Integrate. $\int 2 d\theta + \int (\tan^2 \theta )d\theta$
Thus, we have $\int 2 d\theta + \int (\tan^2 \theta )d\theta= 2 \theta + \int (\sec^2 \theta )d\theta -\int 1 d\theta$
or, $=\theta+\tan \theta +C$