Answer
(a) $d=5$
(b) midpoint=$(0,1/2)$
Work Step by Step
(a) We find the distance between the points $(-2,-1)$ and $(2,2)$ by using the Distance Formula:
$d=\sqrt{(-2-2)^{2}+(-1-2)^{2}}=\sqrt{(-4)^{2}+(-3)^{2}}=\sqrt{16+9}=\sqrt{25}=5$
(b) We find the midpoint by using the Midpoint Formula:
midpoint=$(\displaystyle \frac{-2+2}{2},\ \frac{-1+2}{2})=(0,\ \frac{1}{2})$