The law of multiple proportions states that when two elements combine in more than one proportion to form different compounds, the masses of one element that combine with a fixed mass of the other element are in simple whole number ratios. H$_2$O and H$_2$O$_2$ are examples of compounds formed by the combination of hydrogen and oxygen in different proportions, hence they illustrate this law.