How to find Oxidation state of an atom using structure