First notice that the triangle with sides

and the triangle with sides

are similar. This is true because the angle between sides

in the smaller triangle is clearly

, while the angle between sides

in the larger triangle is clearly

. So the triangles are similar with sides

corresponding to

, respectively.
Now both triangles are

, which means there's a convenient ratio between its sides. If the length of the shortest leg is

, then the length of the longer leg is

and the hypotenuse has length

.
Since

is the shortest leg in the larger triangle, it follows that

, so