In the given question endpoints of the line (Hypotenuse) have been given and we have to find the length of the hypotenuse.
Distance between the two points [tex](x_1,y_1)[/tex] and [tex](x_2,y_2)[/tex] is given by the expression,
Distance = [tex]\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]
Distance between two points (7, 8) and (-1, -1) will be,
Distance = [tex]\sqrt{(7+1)^2+(8+1)^2}[/tex]
= [tex]\sqrt{64+81}[/tex]
= [tex]\sqrt{145}[/tex]
And the right triangle with the hypotenuse formed by the line joining two points (7, 8) and (-1, -1) will be as given in the figure attached.