What is the answer to #2 ?

Answer:
2
Explanation:
Compund D is glucose which is made of 6 carbon atoms, 12 hydrogens and 6 oxygen atoms.
ratio 1:2:1