An element, Z froms an anion whose formula is [Z(CN)6]y. If Z has an oxidation…