What do you mean by variable valency ?
Certain elements combine with other atoms, donating, accepting or sharing electrons in different proportions depending on the nature of the reaction. For example, iron combines with oxygen to form ferrous oxide as well as ferric oxide. In the formation of ferrous oxide, iron exhibits a valency of +2, whereas in ferric oxide, it has a valency of +3. This is termed variable valency.