easiest way is to find which one is smaller
-2 is smaller than 6
8 is smaler than 10
so (-2,8) is smaller
we find the distance betewen them
distance between -2 and 6 is 8
distance beteeen 8 and 10=2
so
we add 1/2 of each to the smaller one
8/2=4
-2+4=2
2/2=1
8+1=9
the midpoint is (1,9)