The endpoint of the line segment $ AB $ is :
$$ B = \left(0,~0\right) $$Step 1: If the start point is $ A(x_1, y_1)$ and the midpoint is $ M(x_m, y_m)$, than the endpoint is:
$$ (x_2, y_2) = ( 2x_m - x_1, 2y_m - y_1) $$Step 2: Substitute $ x_1 = 0 $, $ y_1 = 0 $, $ x_m = 0 $, $ y_m = 0 $, to get:
$$ \begin{aligned} x_2 &= 2 x_m - x_1 = 2\cdot0 - 0 = 0 \\[1.2 em] y_2 &= 2 y_m - y_1 = 2\cdot0 - 0 = 0 \\[1.2 em] \end{aligned} $$Step 3: The endpoint B is:
$$ B = \left(0,~0\right) $$Step 4: