If we have 2 coordinates (x1,y1) and (x2,y2), the midpoint is given by the following equation:
((x1+x2)/2,(y1+y2)/2)
We have the first set of coordinates which is (-8,2) and we have the midpoint which is (-6,2)..
For the x-coordinate:
(-8+x2)/2=-6
-8+x2=-12
x2=-12+8
x2=-4
For the y-coordinate:
(2+y2)/2=2
2+y2=4
y2=2
So the coordinate p2 will be (-4,2)