Respuesta :

distance between the points can be found by this formula

[tex]d = \sqrt{(y2-y1)^2+(x2-x1)^2} [/tex]
where (x1,y1) and (x2,y2) are coordinates points,

============================================
what else u want in this que regarding right triangle is not clear as ur picture looking incomplete?