Is finding the distance between two points in the rectangular coordinate system related to the Pythagorean theorem? Why or why not? Provide an example in your answer.