The mass of the sour cream that should be added is 0.68 kg.
Mass of the water is calculated as follows;
mass = density x volume
mass = (1 kg/L) x 0.5 L = 0.5 kg
Heat gained by the sour cream = Heat lost by the water
[tex]m_s c_s\Delta \theta _s = m_wc_w\Delta \theta _w\\\\m_s = \frac{m_wc_w\Delta \theta _w}{c_s\Delta \theta _s} \\\\[/tex]
where;
[tex]m_s = \frac{0.5 \times 4184 \times (80 - 40)}{3510 \times (40 - 5)} \\\\m_s = 0.68 \ kg[/tex]
Learn more about heat capacity here: https://brainly.com/question/16559442