Answer
x=8; y=6
Work Step by Step
1. The two triangles are similar so their corresponding sides are proportional
2. The lengths of the hypotenuse follow the ratio
25:10=2.5:1
3. This means that two other pairs of corresponding sides follow the same ratio
Therefore:
x(2.5)=20
x=8
and, y(2.5)=15
y=6