Answer;
The coordiantes of the point Q is;
[tex](1,3)[/tex]Explanation;
Here, we want to get the coordinates of the other endpoint
Mathematically, we can find the midpoint of two endpoints using the formula below;
[tex](x,y)\text{ = (}\frac{(x_1+x_2)}{2},\frac{(y_1+y_2)}{2})[/tex]The notation 1 and 2 represents the coordinates of the two end points
Now, by replacing the values given in the question, we have it that;
(x,y) is the coordinate of the point m which is (-2,1)
Now the first end point has the coordinates (-5,-1)
The second endpoint Q has the endpoint (x2,y2) which we want to calculate
We proceed to make the substitutions as follows;
[tex](-2,1)\text{ =}\frac{(-5+x_2)}{2},\frac{(-1+y_2)}{2}[/tex]We proceed to susbtitute the individual branches as follows;
[tex]\begin{gathered} -2\text{ = }\frac{-5+x_2}{2} \\ 2(-2)=-5+x_2 \\ -4=-5+x_2 \\ x_2=-4+5 \\ x_2\text{ = 1} \end{gathered}[/tex]Finally, we have;
[tex]\begin{gathered} 1=\frac{-1+y_2}{2} \\ 2(1)=-1+y_2 \\ 2+1=y_2 \\ y_2\text{ = }3 \end{gathered}[/tex]