The midpoint of a line delimited by two point can be found by the average of each coordinate of the points. This means that we can apply the following expression:
[tex](\frac{x_1+x_2}{2},\frac{y_1+y_2}{2})[/tex]Applying the coordinates given:
[tex](\frac{5\text{ -1}}{2},\frac{-6-2}{2})\text{ = (}\frac{4}{2},\text{ }\frac{-8}{2})\text{ = }(2,\text{ -4)}[/tex]The coordinates of the midpoint of this line are (2,-4).