this is your answer, i hope this helps you
Shorter Leg=x
Hypotenuse=2x
Shorter Leg=5cm
Hypotenuse= 10cm