what i do is that i put the endpoint coordinate first and then on the bottom i put the midpoint coordinate.
(-9, -4)
(-1, -2)
then i find the difference from endpoint one to the midpoint
+8 and +2
i apply that to the midpoint to the second coordinate
(-1, -2)
+8 +2
endpoint: (7, 0)
you can check using the midpoint formula ( x + x / 2, y + y / 2)