If the cat eats 3 cans of food every 8 days, in 24 days it will eat 3 times as many = 9 cans.
If it eats 3 cans in one day, it would eat 3*24=72 in 24 days. Fat cat!
The title of the question and the context don't match so the question is ambiguous, hence the two possible answers!