Answer:
x is 4 and y is 3.
Explanation:
The scale factor between the triangles is 2, as you can see. The hypotenuse of the small triangle is 5 while the hypotenuse of the larger one is 10, so the scale factor between the triangles is 2. This means you can divide the other leg lengths of the large triangle by 2 to find the lengths for the corresponding legs of the small one.