ABC-DEF. what is the scale factor of triangle ABC to triangle DEF

in the given triangles the scale factor will be the ratio of the hypotenuse of DEF and the hypotenuse of ABC
so ratio = 30/10 = 3
thus the scale factor is 3
so the value of the sides of ABC is,
x = 27/3
x = 9
y = 18/3
y = 6