Answer:
Midpoint of AB = 3
Explanation:
Given two points A and B on a number line, the midpoint of segment AB can be found using the formula below:
[tex]\begin{gathered} \text{Midpoint}=\frac{x_1+x_2}{2} \\ x_1=-2 \\ x_2=8 \\ \text{Therefore:} \\ \text{Midpoint of AB}=\frac{-2+8}{2} \\ =\frac{6}{2} \\ =3 \end{gathered}[/tex]