Hello. You have not submitted the points to which the question refers, which makes it impossible for that question to be answered. However, I will try to help you in the best possible way.
To solve a problem using the Pythagorean theorem, you must keep in mind that the Pythagorean theorem is a mathematical expression used to represent the sides of a right triangle. In this case, the theorem considers that the largest side of the triangle is called a hypotenuse and the smaller sides are called catheters.
In this case, the Pythagorean theorem believes that the square of the hypotenuse is equal to the sum of the sides and this can be expressed mathematically as a² = b² + c².
In this case, to answer your question, you must identify a triangle at the points to which you want to find the distance, identify the hypotenuse and use the formula above, to find the answer.