Explanation:
The x coordinates of points A and B are 2 and -2 respectively. Add them up and divide by 2 and we would get (A+B)/2 = (2+(-2))/2 = 0/2 = 0.
The x coordinate of the midpoint is 0.
The y coordinate of the midpoint follows the same idea, but we focus on the y coordinates of course. You should find the y coordinate of the midpoint is 0.
The midpoint is at (0,0) as the diagram shows.