Given the midpoint and one end point of a line segment find the other end point

End point:(5,-4), midpoint:(-2,3)

Let the other end point be (a,b)

then:
(a+5)/2 = -2
a+5 = -4
a = -9

find b the same way