Slope formula will find you the SLOPE of the line, not the distance. Midpoint will find you the halfway point, but not the distance. Distance formula says it all, and Pythagorean theorem can find you the value of C (the hypotenuse, or the diagonal between the rise and run.