For this problem, we are given a right triangle with known angles and a known hypothenuse. We need to find the value of one of the sides.
To solve this problem, we need to use trigonometric relations. We can use the cosine or sine, if we use the sine we need to choose the 50º angle, if we use the csine we need to choose the 40º angle. Therefore we have:

The value of x is approximately equal to 40.6.