Explanation
If a single cook can bake 3 large cakes per hour and the kitchen is available for 4 hours, a single cook can bake \(3 \times 4 = 12 \)large cakes during that time. 35 large cakes are needed for the party so \(35\div 12=2.9 \)cooks are needed to bake the required number of large cakes.
If a single cook can bake 15 small cakes per hour and the kitchen is available for 4 hours, a single cook can bake \(15 \times 4 = 60 \)small cakes during that time. 110 small cakes are needed for the party so \(110 \div 60=1.8\) cooks are needed to bake the required number of small cakes.
Rounding the number of cooks needed for each type of cake up to the next whole number gives us 3 + 2 = 5 cooks.