In a right-angled triangle the altitude drawn to the hypotenuse, is geometric mean of the segments it divides the hypotenuse. It means that the altitude drawn to the hypotenuse has the measure= = 4. Now consider the smallest triangle. You know its legs. They are 4 units and 2 units long. Hence, x = = = = . The problem is solved.