The coordinates of point A are (-4,p) and the coordinates of point B are (2,-3). The midpoint of the line segemnt AB, has coordinates (q,1).

1.) FInd the value of
a. q
b. p
2. Calculate the distance AB

average for middle

x = (-4 + 2)/2 = -1
y = (p-3)/2 = (1/2) p - 3/2
that point is (q,1)
so
q = -1
1 = p/2 -3/2 or 2 = p - 3 or p = 5
so
now find AB
A is (-4,p) which is (-4 , 5)
B is (2 , -3)
change in x = 6 = 2*3
change in y = 8 = 2*4 so 3 , 4 , 5 right triangle
hypotenuse = 2*5 = 10
=