If a and b are ordinate or abcissa of two points then mid point say c is given by

c=(a+b)/2

in your question,mid point is given.

So let us consider the abcissa first

-5=(-7+a)/2

a-7=-10

a=-3

hence the abcissa of the end point is -3.similarly you can find the ordinate of the end point.