If she needs to use 225g of flour for each cake and wants to make 18 cakes she will need 4050g (225x18=4050) of flour but she only has 360g which is obviously not enough flour. For one cake she needs 75g of sugar and since she needs to make 18 cakes she needs 1350g (75x18=1350) of sugar. She only has 135g so it’s not enough.