Answer :
all element in group 17th have their oxidation number to be -1 and for the other element its shell configuration should be 2,8,3...therefore its oxidation number should be +3
therefore the formular should be YX3
therefore the formular should be YX3