Show that the following set of data obeys the law of multiple proportions.
First Compound Second Compound
Element X 103.1 g 96.23 g
Element Y 7.96 g 14.87 g