The midpoint of the line segment $ AB $ is :
$$ M = \left(-1,~8\right) $$To find midpoint between points $ A(x_1,y_1) $ and $ B(x_2,y_2) $, we use formula:
$$ M = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2} \right) $$In this example we have:
$$ \begin{aligned} & A \left(-7,~6\right) \implies x_1 = -7 ~~\text{and}~~ y_1 = 6 \\[1 em] & B \left(5,~10\right) \implies x_2 = 5 ~~\text{and}~~ y_2 = 10 \end{aligned} $$After substituting into above formula, we get:
$$ \begin{aligned} M & \left( \frac{ -7 + 5 }{2}, \frac{ 6 + 10 }{2} \right) \\[1 em] M & \left( \frac{ -2 }{2}, \frac{ 16 }{2} \right) \\[1 em] M & \left(-1,~8\right) \end{aligned} $$