find other endpoint of line segment with a given endpoint and midpoint

endpoint (2,1) Midpoint (-7, 2)

easy.

distance from point to midpoint
x: 2- -7=9
y: 1-2=-1

so the new x,y is (-7-9, 2+1) or (-16,3)

check my thinking