The two "shorter" sides are referring to the legs of the triangles, because the hypotenuse is the largest side. Looking at this, we can find that it's a 3-4-5 triangle, which means that the scaling factor is 3, because 9/3 =3, 12/3=4, meaning we multiply 5 by 3 to get 15.