Copyright © University of Cambridge. All rights reserved.
'Three by One' printed from https://nrich.maths.org/
Here is a hint to help on you on the way :
Let $\alpha + \beta = \gamma$ and $\tan(\alpha + \beta) =
\frac{\tan\alpha + \tan\beta}{1 - \tan\alpha\tan\beta}$
where $\alpha = \tan^{-1}{1\over3}$, $\beta = \tan^{-1}{1\over2}$,
$\gamma = \tan^{-1}1$.