
### Instruction: help me answer this question Find the distance between P (x1, y1) and Q (x2, y2) when: (i) PQ is parallel to the y-axis, (ii) PQ is parallel to the x-axis., think step by step
### Assistant: The distance formula is derived from the Pythagorean theorem and is used to calculate the distance between two points in a coordinate plane. , The answer is The distance between P and Q when PQ is parallel to y-axis is |y2 – y1|, and when PQ is parallel to x-axis, the distance between P and Q is |x2 – x1|.
