Since this is a right triangle, you can use the pythagorean theorem,
, to find XY. Since we know that 15 and 17 are our legs and that XY is the hypotenuse, we can solve it as such:

In short, XY is √514, or 22.67 rounded to the hundreths, units long.
Answer:
15
Step-by-step explanation:
(18+22+17+x)/4=18
18+22+17+x=18×4
57+x=72
x=72-57
x=15