an element x reacts with chlorine to form ionic compound xc1'2 state with reasons

Please repost with a complete question.