5 g of calcium react with 2 g of oxygen to form 7 g of calcium oxide.
Using the law of constant proportions, calcium and oxygen react in a fixed ratio of 5:2, by mass, to produce 7 g of calcium oxide.
When 5 g of calcium react with 20 g of oxygen, the same amount of calcium oxide will be formed because 5 g of calcium react with 2 g of oxygen and 18 g of oxygen remain unreacted.
Therefore, 7 g of calcium oxide will be formed when 5 g of calcium will react with 20 g of oxygen.