To find the midpoint, add x1 and x2 then divide by 2, then add y1 and y2 and divide by 2.
Midpoint = (2a +2b /2 , 0 + 2c /2)
Midpoint = a+b, c