What is the value for x?

Answer: X = 4.33
Step-by-step explanation:
cos angle = hypotenuse / opposite side
cos 30° = X/5
0.866 = X/5
X = 4.33