find the midpoint of the line segment having the given endpoints. (8, -4) and (-7,8)

Take the average of the x values (in this case, 1/2) and the average of the y values. Those will be the x,y coordinates of the center of the line