The chemical formula of the ionic compound is XY₂.
During the formation of the ionic compound between an ion X that has a charge of 2+ and ion Y has a charge of 1-, two negatively charged ions of Y are required to form a neutral ionic ionic compound when they react with X.
The chemical the formula of the ionic compound they form is as follows;
X²⁺ + 2Y⁻ ---> XY₂
Therefore, the chemical formula of the ionic compound is XY₂.
Learn more about ionic compounds at: https://brainly.com/question/13439771