Step-by-step explanation:
Since the coordinates of the points on a vertical side are on the same x=constant line, they will have the same x-coordinate. Since the coordinates of the points on a horizontal side are on the same y=constant line, they will have the same y-coordinate.
If the horizontal sides of the rectangle are on lines y=y1 and y=y2, and the vertical sides are on the lines x=x1 and x=x2, then the four corner coordinates will be ...
(x1, y1), (x1, y2), (x2, y2), (x2, y1)