What is the length of the hypotenuse of a right triangle whose legs have lengths of 5 and 12? user: find the midpoint of the line segment whose endpoints are (3, 10) and (7, 8).