The equation is: $\arctan 3 + 2\arctan2 = \pi + arccot 3$
They go on and assign $\arctan 3 = \theta$ and $\arctan2 = \phi$. Therefore, $\frac{\pi}{4}< \theta < \frac{\pi}{2}$, same for $\phi$. Which I follow.
Then they use $\tan(A+B)$ formula to show that that $\tan(\theta+2\phi)=\frac{1}{3}$. Which implies that $\arctan \frac{1}{3} = \theta + 2\phi$, but apparently not so. As it implies $\pi + \arctan \frac{1}{3} = \theta + 2\phi$.
And there I am lost. I can see that when you combine the inequalities you get $$\pi+\frac{\pi}{4} < \theta + 2\phi < \pi + \frac{\pi}{2}$$
And then they go on to show that $$\theta + 2\phi = \pi + \arctan \frac{1}{3} = \pi + arccot 3$$
I do not understand where that $\pi$ is coming from there...