The proper distance between two points with coordinate separations dx in the x direction and dy in the y direction is $$ ds = \frac{1}{y} \sqrt{dx^2 + dy^2} $$
https://files.mastodon.social/media_attachments/files/109/439/214/031/636/775/original/c7d234ec206c032c.jpeg