Add x-coordinates and divide by 2. Add y-coordinates and divide by 2. In this way, you get the coordinates of the midpoint.