We know that density is a measure of mass per unit of volume:
Density = Mass / Volume
Therefore, we can calculate for the mass
Mass = Density * Volume
if the density of water is 1 g/cm^3:
Mass = Density * Volume
= (1 g/cm^3) * 94.60 cm^3
= 94.60 g
Mass number of X = 6 + 6 = 12
Mass number of Y = 6 + 8 = 14
Symbols of elements are: ⁶X₁₂ & ⁶Y₁₄
So,the elements are "Isotopes"
Hope this helps!
Its called ionic bonding! :^)