Given equation:
$ \tan\theta + \cot\theta = 2 $.
Rewrite $\cot\theta$:
$ \tan\theta + \dfrac{1}{\tan\theta} = 2 $.
Let $t = \tan\theta$.
Then:
$ t + \dfrac{1}{t} = 2 $.
Multiply by $t$:
$ t^2 + 1 = 2t $.
Rearrange:
$ t^2 - 2t + 1 = 0 $.
$ (t - 1)^2 = 0 $.
So:
$ t = 1 $.
Thus:
$ \tan\theta = 1 $.
General solution:
$ \theta = \dfrac{\pi}{4} + n\pi,\; n \in \mathbb{Z}. $