In order to solve this, you must learn the rhyme SOH-CAH-TOA
As formulas it is
S stands for sine, C stands for cosine, and T for tangent
For now you are trying to solve for cosine. The AH stands for adjacent over hypotenuse.
So find Angle A and look for the side closest to it, but not the longest side. This has a length of 22 and can be identified as the adjacent side.
Next, the one with the length of 122 can be labeled as your hypotenuse since it is the longest side of a triangle.
You can now plug the numbers in:
This comes out to .9999950472
In this case we can round to the nearest hundreth
Answer is 1.00