Right triangle ABC is similar to triangle XYZ, because angle B is congruent to angle Y. If side AB equals 12 inches, side BC equals 27 inches, and side YZ equals 9 inches, then what is the length of side XY?

AB/BC =12/27 = 4/9 = xy/yz = xy/9

so
xy = 4