Answer:
Just connect points Y and D with a straight line to make YD. Do the same for YE and YF, just attach Y to points E and F with a straight line.
Note that sin 45 deg = opposite side / hypotenuse.
1 7sqrt(2)
Here, sin 45 deg = ----------- = --------------
sqrt(2) x
Cross multiplying, we get x = 7 [sqrt(2) ]^2 = 7(2) = 14 (answer)

There are a total of 6 x 6 = 36 possible outcomes when a fair die is rolled twice. Of the 36 possible outcomes, there are 6 doubles: 1-1, 2-2, 3-3, 4-4, 5-5, and 6-6. Thus, the probability of getting a double is 6/36 = 1/6.
The answer for your question is (x,y)=(4,9)