When 24g of magnesium metal is heated in air, 40g of magnesium oxide is produced. What mass of magnesium would be needed in order to produce 10g of magnesium oxide?