You can
put this solution on YOUR website!Let x=length of first leg and y=length of second leg
Since the "length of a leg of a right triangle is two times the length of the other", this means that

. So in this case "y" is the longer leg.
So with the use of Pythagoreans theorem, we get

Square 25 to get 625

Plug in

Square

to get

Add

Divide both sides by 5.

Take the square root of both sides. Note: only the positive square root is considered.

Simplify the square root.
So the length of one leg is

(which approximates to

) and the length of the longer leg is

(which approximates to

)