Help needed with a Pseudo code

how to resolved below question? thanks

Question:
your team is working on creating square geofences based coordinate clusters. Write the pseudocode for a method that will take a list of (x,y) coordinates and return the area of the smallest square that can cover the points.

I don’t know where to start, so I am asking for help

Hint:

  1. Plot 3 coordinates on graph paper.
  2. Stare at the graph paper until you see the answer.