we have that
Leg 1 ------> vertical side
Leg 2 -----> horizontal side
so
Find out the length side Leg 1
Subtract the y-coordinates of the given points (absolute value)
Leg 1=-3-(-7)=-3+7=4 units
Find out the length side Leg 2
Subtract the x-coordinates of the given points (absolute value)
Leg 2=2-(-3)=2+3=5 units
Find out the distance of the hypotenuse
Applying the formula to calculate the distance between two points
![\begin{gathered} d=\sqrt[]{\mleft(-3+7\mright)^2+\mleft(2+3\mright)^2} \\ d=\sqrt[]{16+25} \\ d=\sqrt[]{41} \\ d=6.4\text{ units} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/8869dlqln7z5pcb5k1u58osrs0nb94yvht.png)