If the length of a diagonal of a square is 2~$\sqrt{x}$~ , what is the area of the square in terms of x?

~$\sqrt{x}$~

~$\sqrt{2x}$~

2~$\sqrt{x}$~

x

2x