I'm supposed to find the length of x but don't know how

By definition:
[tex]\cos (angle)=\frac{\text{adjacent side}}{Hypotenuse}[/tex]From the picture:
[tex]\begin{gathered} \cos (60)=\frac{x}{20} \\ \frac{1}{2}=\frac{x}{20} \\ \frac{1}{2}\cdot20=x \\ 10=x \end{gathered}[/tex]