Answer: 
X = 8 
Y = 35 
Explanation:
All you need to do to solve this problem is use the Pythagorean Theorem 
 The leg of the triangle are A and B and C represents the hypotenuse. All you need to do is plug in the values into the equation and there u have it.