The ratio of the number of molecules in 2g of hydrogen to that in 16g…