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

Answered below at the original post.