If you have two points (x1,y1) and (x2,y2), the midpoint in between such points is given by:
(xo , yo)
where:
xo = (x1 + x2)/2
yo = (y1 + y2)/2
then, for the points (x1y1) = (-1,1) and (x2,y2) = (5,-5), you have:
xo = (-1 + 5)/2 = 4/2 = 2
yo = (1 - 5)/2 = -4/2 = -2
hence, the midpoint is:
(xo,yo) = (2,-2)