Hydrogen combines with oxygen to form two compounds namely water and hydrogen peroxide. In this reaction the masses of oxygen which combine with a fixed mass of hydrogen bear a simple ratio. The given statement can be explained on the basis of:
Law of multiple proportions
According to the law of multiple proportions if two elements combine to form more than one compound the masses of one element that combine with a fixed mass of the other element are in the ratio of small whole numbers.