Use a tangent.
[tex]tangent=\dfrac{opposite}{adjacent}[/tex]
We have:
opposite = 8cm and adjacent = 10cm.
Substitute:
[tex]\tan x=\dfrac{8}{10}=0.8[/tex]
[tex]x\approx38.7^o[/tex]