Find the midpoint between any two points in a coordinate system.
The midpoint between two points (x₁, y₁) and (x₂, y₂) is calculated using the formulas:
x = (x₁ + x₂) / 2
y = (y₁ + y₂) / 2
The distance between two points is calculated using the Pythagorean theorem:
d = √[(x₂ - x₁)² + (y₂ - y₁)²]