The chemical formula : X₃Y₂
Further explanation
The noble gas element is a stable class of elements. The noble gas element is monatomic. Stability of noble gases is caused by an electron configuration that has a stable configuration of 8 (has 8 valence electrons) except He with a duplet configuration (has 2 valence electrons)
Other elements that do not yet have electron configurations such as noble gases will try to achieve their stability by forming bonds between elements.
This is generally called the octet rule
X has 2 valence electrons.to achieve stability, element X will release 2 electrons to form X²⁺
Y has 5 valence electrons, to achieve stability, the element Y will attract/ add electrons to form Y³⁻
The two compounds will form a compound with the charges crossed : X₃Y₂