how is the distance formula related to the pythagorean theorem?

What distance formula?