$A$ and $C$ are the opposite vertices of a square $ABCD$, and have coordinates $(a,b)$ and $(c,d)$, respectively. What are the coordinates of the other two vertices? What is the area of the square? How generalisable are these results?