A square in the $xy$-plane has area $A$, and three of its vertices have $x$-coordinates $2$, $0$, and $18$ in some order. Find the sum of all possible values of $A$.