For the points P and Q, do the following:
(a) Find the distance d(P,Q).
(b) Find the coordinates of the midpoint M of the segment PQ.
P(5√2, 7√5), Q(√2, -√5)
(a) The distance d(P,Q) is
(Simplify your answer. Type an exact answer, using radicals as needed.)