A point is a list of coordinates, like [3, 4]: 3 across, 4 up. Write distance(a, b): how far apart two points are, in a straight line.
A van drives from the depot at [0, 0] to a house at [3, 4] along the streets: 3 blocks across, then 4 up. A delivery drone flies to the house in a straight line.
distance(a, b)| a | points as lists, e.g. [0, 0] and [3, 4] | e.g. [0, 0] |
| b | points as lists, e.g. [0, 0] and [3, 4] | e.g. [3, 0] |
| returns | how far apart they are | |