Answer:
X⁺ and Y⁻ ions
Explanation:
The ions present in their compounds will be:
X⁺ and Y⁻ ions
Elements in group 1 on the periodic table will favor the +1 oxidation state which allows them to lose an electron and to attain stability.
Elements in group 7 on the periodic table will favor the -1 oxidation state which allows them to gain an electron and attain stability.
When X⁺ and Y⁻ ions combines, they will produce XY