Here we don't know the length of the hypo, but do have measures of both legs of this right triangle: x and 40 yd.
Use the tangent function to determine the value of x:
x
--------- = tan 62 degrees. Solving for x: x = (40 yd)(tan 62 deg).
40 yd can you evaluate this yourself?