The mean is given by the sum of all the months divided by the number of months.
Then:
Let's set x for the spending money for December.
There are 5 months.
Hence:
![\operatorname{mean}=(20+70+30+85+x)/(5)]()
We need to have a mean equal to $50. Set mean = 50.
![50=(20+70+30+85+x)/(5)](https://img.qammunity.org/2023/formulas/mathematics/college/3pzqskvowvlthuj1llrfu4n438rgjs7miy.png)
Solve for x:
![\begin{gathered} 50=(20+70+30+85+x)/(5) \\ 50=(205+x)/(5) \\ 5\cdot50=205+x \\ 250=205+x \\ \text{Therefore:} \\ x=250-205 \\ x=45 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/bit2nkcuyw9xlrujsoh6wx5o61dua4web2.png)
Hence, If the student wants to complete his goal, he will need to spend $45 in December.