How?
In the world do you do this it’s very confusing

So this triangle is considered a "special triangle". The 30-60-90 triangle rule states that if the short leg is n, then the hypotenuse is 2n and the long leg is n√3.
In this case, since the short leg is 7, x = 14 and y = 7√3. The correct answer that has this is B.
This is a 30° - 60° -90° triangle, which means that the sides will measure: 1, √3, 2.
Note that:
2 is the hypotenuse, opposite of the 90° angle
√3 is the longer side, opposite of the 60° angle
1 is the shortest side, opposite of the 30° angle
-------------------------------------------------------------------------------------------------------------------
7 is in the place of 1, and is the shortest length measurement.
x is in the place of 2, which is twice the size of the place value of 1, which is 7
x = 7(2)
x = 14
-------------------------------------------------------------------------------------------------------------------
y is in the place value of √3, which is √3 more than the place value of 1
7 x √3 = 7√3
y = 7√3
-------------------------------------------------------------------------------------------------------------------
x = 14, y = 7√3, or (B), is your answer
-------------------------------------------------------------------------------------------------------------------
hope this helps