It takes 2 hr for 8 cooks to prepare the food for a wedding rehearsonal. How long would it take 5 cooks? Thank you

2 hours for 8 cooks.

In one hour, each cook does 1/16th of the work, or one cook will take 16 hours.
5 cooks will take 16/5 hours.

(It doesn't always work like that in my kitchen lol)