So I have the following equation:
$$ \frac{\cos(x)}{\sin(x)}=\frac{3}{\sqrt3}$$
and when solving it for $x$ (in the range of $[0 - \pi]$ ), I know the solution is $x=\pi/6$.
However I don't understand how this is done. What steps do I need to take to find $x$ for this and similar equation?