To find the maximum value for x, the hypotenuse, with a given of an angle 30° and a height of 2 m, we can see that 30° is directly opposite the side of 2 m, in which case we may use the sin of 30° to find the hypotenuse.
Remember that the sin = opposite/hypotenuse, so sin30° = 2/x