In a right triangle, the hypotenuse measures 13 units and one leg measures 5 units. What is the length of the other leg?
8 units
10 units
12 units
18 units