Need help! How many days will the amount last?

It would be 3 days because if there are 30 chickens at first and you can feed them for 4 days, then there must be 120 pieces of chicken food. If you have 40 chickens, then you have to divide 120 by 40 which gets you 3 days.