Since the ΔABC is a dilation of the first triangle by 2, the hypotenuse of this new triangle is equal to 20. By Pythagorean theorem,
hypotenuse² = (shorter leg)² + (longer leg)²
Substituting the given expression for each of the leg
20² = (5 - x)² + (2x)²
The value of x from the equation is -7.71. The shorter leg is 5 - x which is equal to 12.71.