C3H8 and CH4 are two compounds made from the same two elements, C and H. The ratios of C and H for both are round numbers.
Law of multiple proportions states that when two elements combine with each other to form more than one compound, the weights of one element that combine with a fixed weight of the other are in a ratio of small whole numbers.