The equation is 314 = 1,200 - 240x
1,200 is the number of M&M's it starts with
The problem said the family eats 1/5th of the candy every day
1/5 of 1,200 is 240
It is a -240 because the amount of m&m's is getting fewer each day
The x stands for the number of days
Sorry but I'm not sure if I could answer your problem exactly
The answer is 3.69 days
Because there isn't an exact day that there would exactly 314 M&M's left