how do you know which roman numeral to place between the cation and the anion of a metal-nonmetal substance?

Answered below at the original post.