What is the value of cos x? How do you set this problem up?

Notice that, in the right triangle on the right.....the adjacent side to x is 2.5 and the hypotenuse is 5.4

The cos x = adjacent / hypotenuse

So

cos x = 2.5 /5.4