anybody know this i need help

Since it is given that the triangle is a right angle, and one of the other angles is 30 degrees, then we know that this triangle is a 30, 60, 90 triangle. In a 30, 60, 90 triangle, the opposite side of the shortest angle is half of the hypotenuse (which is given as 6). So knowing this, the value of y would be D. 3.