Solution:
Key idea: Gay-Lussac's law of combining volumes (1808) — when gases react together, they do so in volumes which bear a simple whole-number ratio to one another and to the volumes of the products, if gaseous, all volumes being measured at the same temperature and pressure. The law follows from Avogadro's law: equal volumes contain equal numbers of molecules, so volume ratios equal mole ratios in the balanced equation.
Step 1 — What we compare. Only the volumes of substances that are gases under the stated conditions are compared; a liquid's volume is negligible.
Step 2 — (a) Hydrogen and oxygen forming steam. Water must stay as a gas (steam) for its volume to be counted, so we take the water as steam, as the question says. (At 11 °C water would actually condense to a liquid; the 2 : 1 : 2 ratio holds when the volumes are measured at a temperature at which the water remains steam, e.g. above 100 °C.)
2H2(g)+O2(g)→2H2O(g)
By experiment, 2 volumes of hydrogen + 1 volume of oxygen → 2 volumes of steam:
H2:O2:H2O=2:1:2
Step 3 — (b) Ethane burning in oxygen at S.T.P. At S.T.P. (0 °C) the water formed is a liquid, so its volume is negligible and only the gas volumes are compared.
2C2H6(g)+7O2(g)→4CO2(g)+6H2O(l)
2 volumes of ethane + 7 volumes of oxygen → 4 volumes of carbon dioxide:
C2H6:O2:CO2=2:7:4
Step 4 — Link with the equations. In both cases the volume ratio is the same as the ratio of coefficients of the gaseous substances in the balanced equation, as Avogadro's law predicts.
Therefore, (a) hydrogen : oxygen : steam = 2 : 1 : 2 and (b) ethane : oxygen : carbon dioxide = 2 : 7 : 4 — simple whole-number ratios, illustrating Gay-Lussac's law.