How can I find the length of the lettered sides in the triangle?

Given:
In a right triangle,
The length of the adjacent side is P.
The length of the hypotenuse side is 12cm.
The angle is 60 degrees.
To find:
The value of P.
Explanation:
Using the formula of trigonometric ratio,
[tex]\cos\theta=\frac{adj}{hyp}[/tex]On substitution we get,
[tex]\begin{gathered} \cos60^{\circ}=\frac{P}{12} \\ P=12\cos60^{\circ} \\ P=12(\frac{1}{2}) \\ P=6cm \end{gathered}[/tex]Final answer:
The value of P is 6cm.