A right triangle has a hypotenuse that measures 10 mm and a leg, a, that measures 8 mm. What is the length of leg b?