I have two points like the ones in the image below
I would like to create a rectangle from four points and generate a polygon with four coordinates.
Po