Step-by-step explanation:
the length is calculated via Pythagoras, as the coordinate differences and the direct connection (as the Hypotenuse) between both points create a right-angled triangle.
length² = (-4 - 2)² + (1 - -3)² = (-6)² + 4² = 36 + 16 = 52
length = sqrt(52) = sqrt(4×13) = 2×sqrt(13)
the midpoint is simply ((x1+x2)/2, (y1+y2)/2)
so,
(-4 + 2)/2 = -2/2 = -1
(1 + -3)/2 = -2/2 = -1
therefore, the midpoint is (-1, -1)