Let the other end point be (x,y)
THe two endpoints are in a straight line where the Center would be the MIDPOINT of them.
Thus, we can say
(2, 5) ----------- (5,1) ----------- (x,y)
We can use midpoint formula here, which is:
Midpint Formula:
So,
and
Hence the midpoint is (8, -3)