Answer:
The distance is
which is approximately equal to 8.602 units
The midpoint is (8.5 , 5.5)
Step-by-step explanation:
1- Getting the distance:
The distance between two points can be calculated using the following rule:

The given points are:
(5,2) represents (x₁ , y₁)
(12,7) represents (x₂ , y₂)
Substitute with the givens in the above equation to get the distance as follows:

2- Getting the midpoint:
The midpoint of two points is calculated as follows:

The given points are:
(5,2) represents (x₁ , y₁)
(12,7) represents (x₂ , y₂)
Substitute with the givens in the above equation to get the distance as follows:

Hope this helps :)