I undestand that you want to obtain a mean oxidation number for these compounds.
Then use -2 for oxygen and +1 for hydrogen.
A formal six carbon residue will then have -4, -4, 0, -2 and -4 charge for structures A to E, respectively, and the highest oxidation state shows structure C, and the lowest oxidation state show structures A, B and E