When it comes to physical changes like phase changes, there are two types of heat energy: sensible heat and latent heat. Sensible heat is the heat absorbed/released when you heat the substance but it doesn't change phase. An example would be heating lukewarm water. The substance is liquid all throughout. Latent heat, on the other hand, is the heat absorbed/released when there is a phase change. An example would be boiling water, because it changes liquid to vapor.
Hence, for freezing liquid, you use the latent heat, specifically the heat of fusion. The answer should be