For 31 days, he needs 40 cans of dog food.
Thus, he should buy 8 cans for 6 days.
8.7m questions
11.3m answers