Anna heated 15 g of Substance A to obtain 5 g of Substance B, 4 g of Substance C, and a certain amount of Substance D. Which statement is correct?

The mass of Substance D was 10 g less than the mass of Substance A.
The mass of Substance D was 1 g greater than the mass of Substance B.
The mass of Substance A was equal to the total mass of Substance C and Substance D.
The mass of Substance A was equal to the total mass of Substance B and Substance D.