<human>:  Mr. Rainwater has some goats, 9 cows and some chickens. He has 4 times as many goats as cows and 2 times as many goats as chickens. How many chickens does he have?
<bot>: How many goats does Mr. Rainwater have? ** Let X be the number of chickens Mr. Rainwater has. He has 4 goats/cow * 9 cows = <<4*9=36>>36 goats on his farm.
How many chickens does he have? ** So he has 36 goats / 2 goats/chicken = <<36/2=18>>18 chickens.
#### 18