See section 11.14.2 for distances in two-dimensional geometry.
The distance command takes as arguments two points or two lists with the coordinates of the points.
distance returns the distance between these two points.
Input:
or:
Output: