The diagonals of a square ABCD where the coordinates of vertices A and B are known

The intersection of the diagonals, point D, is also the center of the incircle and circumcircle