Since ABC is similar to XYZ we know that their corresponding sides are proportional which means that AB/XY=BC/YZ=CA/ZX=4/3
Using given information we have that:
20/XY=36/YZ=24/ZX=4/3
Combining 1st and fourth we have: 20/XY=4/3. Using cross multiplication property you get 20 · 3= 4· XY.
Solving for XY we have: XY=15.
Similar you can find rest of two sides.
Hope it helps