let's assume the temperature on 5th day be x
We know that :
[tex] \boxed{mean = \frac{sum \: \: of \: all \: \: observations}{number \: \: of \: \: observations} }[/tex]
So,
[tex] \hookrightarrow \: 0 = \dfrac{ - 2 + ( - 2) + ( - 2) + ( - 2) + x}{5} [/tex]
[tex] \hookrightarrow \: 0 \times 5= - 2 - 2 - 2 - 2 + x[/tex]
[tex] \hookrightarrow \: 0 = - 8 + x[/tex]
[tex] \hookrightarrow \: x = 8[/tex]
Therefore, temperature on the fifth day was x = 8