X should be 3, because the bigger triangle is a typical 5 12 13 triangle, 5 being the hypotenuse of the smaller triangle, and the small triangle being a typical 3 4 5 triangle. With the 4 and 5 side becoming known, x can only be 3 in the 3 4 5 triangle