The formula is

The coordinates for both given points are
(-2,3)
(6,-1)
To calculate the distance between both points I'll call Point 1 (6,-1) and Point 2 (-2,3)
Then for Point 1 the x-xoordinate is x1=6 and the y-coordinate is y1=-1
For point 2 the x-coordinate is x2=-2 and the y-coordinate is y2=3
Replace the given formula with the given information:

The coordinates for the midpoint are (4,-2)