Let us suppose the stock of grain in a government warehouse lasts x days for 6000 people.
As the number of people increases, the number of days decreases.
So, the number of days and number of people are in inverse proportion.
∴ 30 × 4000 = 6000 × x
⇒ x = 20 days
Hence, the stock of grain in a government warehouse lasts 20 days for 6000 people.