Elements A and B combine to form three different compounds:
0.3 g of A +0.4 g of B → 0.7 g of compound X
18.0 g of A + 48.0 g of B → 66.0 g of compound Y
40.0 g of A + 159.99 g of B → 199.99 g of compound Z
State the law illustrated by these chemical combinations.