how do I find the midpoint

To find the midpoint of a line use the midpoint formula which is M = (x1+x2/2 , y1 +y2/2) After plugging in the coordinates for your variables you should get (-1+5/2, -1+2/2) This simplifies to (2, 1/2) which is the coordinates for the middle point of the base XY.