Given sets of points P0, P1 (shape (n, 2)) describing lines, and a single point p (shape (1, 2)), return the distance from p to each line i.
P0
P1
(n, 2)
p
(1, 2)
i
solve(...)