Find the distance and the midpoint for each set of points given

Given,
The coordinates of the points are (2,6) and (7, 2).
Required:
The distance between the points and the midpoint of the points.
The distance between two points is calculated as,
[tex]\begin{gathered} Distance\text{ =}\sqrt{(x_2-x_1)^2+(y_2-y_1)^2} \\ =\sqrt{(7-2)^2+(2-6)^2} \\ =\sqrt{5^2+4^2} \\ =\sqrt{25+16} \\ =\sqrt{41} \\ =6.4 \end{gathered}[/tex]Hence, the distance between the points is 6.4
The midpoint is calculated as,
[tex]\begin{gathered} Midpoint=(\frac{2+7}{2},\frac{6+2}{2}) \\ =\frac{9}{2},\frac{8}{2} \\ =(4.5,4) \end{gathered}[/tex]Hence, the midpoint is (4.5,4).