The hypotenuse of a 45°-45°-90° triangle measures 22 StartRoot 2 EndRoot units.

A right triangle is shown. The length of the hypotenuse is 22 StartRoot 2 EndRoot 2 units. The lengths of the other 2 sides are congruent.

What is the length of one leg of the triangle?