In a 100g sample of water, determine the amount of weight that

is attributed to Hydrogen and to Oxygen.

i found the mass ratio which is 2:16 & then reduced its 1:8. then i set up my equation.

1x+8x=100g
9x=100g
x=11.11111111 or 100/9 then i have to substitute. 1(100/9)= 11.11111111g or 100/9g. & 8(100/9) =88.88888889g or 800/9g. is this right ?