The ratio of food for students to food for chickens is 8:5. After 18 days, the rati...

Check the final answer first, then review the worked steps.

Answer

30

Work

Let $S$ be food for students, $C$ be food for chickens.
Initial: $S/C = 8/5 \implies S = 8k, C = 5k$.
After 18 days: $(S-18)/C = 5/5 = 1 \implies S-18 = C$.
Substitute: $8k - 18 = 5k \implies 3k = 18 \implies k = 6$.
$C = 5(6) = 30$.

Step-by-step solution

Let $x$ be the number of days of food. The initial ratio of food for students to food for chickens is $8:5$. After 18 days, the ratio becomes $5:5 = 1:1$. Since the amount of food for chickens remains constant, we equate the parts: $8:5$ becomes $8k:5k$ and $5:5$ becomes $8k:8k$. The change in food for students is $8k - 5k = 3k$, which corresponds to 18 days. Thus $3k = 18$, so $k = 6$. The initial food for chickens is $5k = 30$ days.