Question 1133604
The midpoint is the average of the endpoint values.  That means that M=(1/2) (A+B)
so for M=2 (x-value), (1/2)(A+B)=2 and A+B=4.  If A is 2, B has 2 for x value.

For y, 5=(1/2)(3+B), so 10=3+B, and B=7
(2, 7)