we have that the midpoint is (-2,-7)
and the endpoint is (12,-9)
We remember the midpoint formula:
[tex]M=(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2})[/tex]Where (x1,y1) are the coordinates of one endpoint and
(x2,y2) are the coordinates for the other endpoint.
Here, we are trying to find (x2,y2) given that
(x1, y1) ---> (12, -9)
[tex]\begin{gathered} x_1=12 \\ y_1=-9 \end{gathered}[/tex]And since we also know the midpoint M(-2, -7), making a comparison with this and the midpoint formula, we get two equations, the first one is:
[tex]\frac{x_1+x_2}{2}=-2[/tex]substituting x1 and solving for x2:
[tex]\frac{12+x_2}{2}=-2[/tex][tex]\begin{gathered} 12+x_2=4 \\ x_2=4-12 \\ x_2=-8 \end{gathered}[/tex]And now, with the second equation which is:
[tex]\frac{y_1+y_2}{2}=-7[/tex]we substitute y1 and solve for y2:
[tex]\frac{-9+y_2}{2}=-7_{}[/tex]solving for y2:
[tex]\begin{gathered} -9+y_2=-14_{} \\ y_2=-14+9 \\ y_2=-5 \end{gathered}[/tex]This the other endpoint (x2,y2) is at (-8,-5)