Answer:
Similar triangles means that they have proportional sides and congruent angles.
According to the similarity, we can form the following proportion between corresponing sides

However, we need to find an expression for XY using Pythagorean's Theorem:

Replacing it in the proportion, we have

Using a calculator, we have
and
.
Therefore, the solution is
.