We have the following:
We know that the angle formed with the 150 ° angle is equal to 180 ° in total, therefore, the interior angle is

Now by means of the trigonometric ratio sine, we can calculate the value of y, which is the hypotenuse of the triangle, like this

now for x, we can calculate it with the trigonometric ratio cosine, which relates the adjacent leg with the hypotenuse

The value of x is 8.66, the value of y is 10