When two elements form two different compounds, the masses of element b that combine with 1 g of element a can be expressed as a ratio of small whole numbers. which law does this refer to?