5 chickens can lay 10 eggs in 20 days. How long does it take 18 chickens to lay 100 eggs?
Let $c,g,d$ be the number of chickens, eggs, days, respectively.
$c$ is inversely proportional to $d:\quad cd=x$
$g$ is directly proportional to $d:\quad g=yd$
Combining the two equations: $$\quad cg = xy,$$ that is, $c$ is inversely proportional to $g,$ in other words, for the same time period if we need more eggs we need to decrease the number of chickens. But this defies common sense. Where is my mistake?