Help with algebra used to solve trig problems.

$\frac{-\frac{1}{2}}{\frac{\sqrt{3}}{2}} = -\frac{1}{2} \cdot \frac{2}{\sqrt{3}} =-\frac{1}{\sqrt{3}}$