Original problem:
Write $2+5i$ in polar form.
My attempt:
$|2+5i|=\sqrt{4+25}=\sqrt{29}$
$\arg(2+5i)=\arctan{\frac{5}{2}}=\theta$
$2+5i=\sqrt{29}(\cos(\theta)+i\sin(\theta))$
But how do I calculate $\arctan({\frac{5}{2}})$ in radians?
I know $\tan(\theta)=\frac{5}{2}$ and this implies that if we have a rectangle triangle $ABC$ then $\overline{AB}=5$ and $\overline{BC}=2$.
Here I'm stuck here.
As mentioned in comments above, you do not need to find the value of $\theta$, namely, you don't need to find the value of $\arctan \frac{5}{2}$. Instead, what you need here are the following two quantities: $$ \cos\theta,\quad \sin\theta. $$ In your right triangle, $$ \sin\theta=\frac{5}{\overline{AC}},\quad \cos\theta=\frac{2}{\overline{AC}}. $$ But you could find the value of $\overline{AC}$ using the Pythagorean theorem.