Given:
Two points are A(3,-5) and B(-1,9).
To find:
The midpoint of AB.
Solution:
Formula for midpoint is
[tex]Midpoint=\left(\dfrac{x_1+x_2}{2},\dfrac{y_1+y_2}{2}\right)[/tex]
Using this formula, the midpoint of AB is
[tex]Midpoint=\left(\dfrac{(3)+(-1)}{2},\dfrac{(-5)+(9)}{2}\right)[/tex]
[tex]Midpoint=\left(\dfrac{3-1}{2},\dfrac{-5+9}{2}\right)[/tex]
[tex]Midpoint=\left(\dfrac{2}{2},\dfrac{4}{2}\right)[/tex]
[tex]Midpoint=\left(1,2\right)[/tex]
Therefore, the midpoint of AB is (1,2). Hence, the correct option is D.