Athough the numbers you provided are not points in a 2-dimensional space, they can be considered points on a 1-dimensional number line.
The arithmetic average ( a + b ) ÷ 2 is the midpoint.
By the way, the two numbers are not points in a 3-dimensional space, or any higher level space.