Consider X + Z -> ?

Assuming the following:

The product is an ionic compound.
Element X has 2 valence electrons
Elements Z has 6 valence electrons
Which general formula would be created?
A)ZX
B)Z^2x
C)XZ
D)X2^Z