$$\ce{FeO}$$
Is called "Iron(II) oxide ".
$$\ce{Fe_2O_3}$$
Is called "Iron(III) oxide ".
The number in the parenthesis is "Valence" of the substance. Frankly, I don't know how to calculate such number. Can you explain to me, with this example, how come $\ce{FeO}$ has valence $2$ and the other one has valence $3$?
The only thing I know how to do is calculate the electron configurations of each element.
For Iron, it is $1s^22s^22p^63s^23p^64s^23d^6$.
For Oxygen, it is $1s^22s^22p^4$.
I am told that based on the electron configuration you can get the valence of each element. And then, you can calculate the valence of $\ce{FeO}$ and $\ce{Fe_2O_3}$. But how?
I made a question before Calculating valence of oxides, but it was wrongly formulated (they corrected me on the definition of Valence, but turns out what I actually need was how to calculate it), so I'm flagging it to be closed.
Edit The question How to get the valencies of elements? doesn't explain how to calculate the valence of a combination of two elements.