The distance2 command takes as arguments two points.
distance2 returns the square of the distance between the points. Input:
Output: