Everpure interview question

Can we draw a square given coordinates