Answer:
H = 1+
O = 2-
O Has 8 protons weight 16g/mole
H has 1 proton weight 1g/mole
H - O - H
Oxygen is in group 6 which means it holds 6 valence electrons, leaving 2 for bonds.
A valence electron is an outer shell electron that can form a chemical bond if the outer shell is not closed.
Now when an atom bonds to another in a single bond, both atoms contribute one valence electron in order to form a shared pair.
In the picture O has 7 Valence electrons, so it would have a negative charge of 1.
The middle Hydrogen has 3 valence electrons which would make hydrogen have a charge of negative 1.
Should look like this
.. ..
H . .O. .H = H-O-H
.. ..