Martin is making three types of cake for a picnic. The three types of cake are carrot cake, apple cake and chocolate cake. Along with other ingredients,
- each carrot cake contains 275 grams of flour, 300 grams of sugar and 5 eggs
- each apple cake contains 200 grams of flour, 400 grams of sugar and 2 eggs
- each chocolate cake contains 100 grams of flour, 400 grams of sugar and 3 eggs
If Martin makes only one type of cake then he has enough time to prepare 15 carrot cakes or 20 apple cakes or 30 chocolate cakes.
Martin has 5.5 kilograms of flour and 70 eggs available and he has promised the picnic organisers that he will make at least 18 cakes in total.
Martin plans to make a selection of these cakes and wants to minimise the total amount of sugar that he uses.
Let x be the number of carrot cakes made, y the number of apple cakes made and z the number of chocolate cakes made.