Algebra 2 (1st Edition)

The distance formula is $\sqrt {(x_2-x_1)^2+(y_2-y_1)^2}$ and the midpoint formula is $(x_2-x_1)/2,(y_2-y_1)/2$