According to the picture, it is necessary to use cosine, which is the ratio between the side that is adjacent to a given angle and the hypotenuse.
In this case, the angle would be H, the adjacent side to it would be x and the hypotenuse 14. It means that cos H is the ratio between x and 14: