The answer turns out to be “B”, I don’t get it though

Answer:
Explanations:
The formula for calculating the heat absorbed is expressed as:
[tex]Q=mc\triangle\theta[/tex]Note that according to law of conservationof mass, the change in density for both the changes been equivalent.