have enough food for How long would the food last if leave the house?
According to the question,
have enough food
have enough food
have enough food ( As leave the house. So the remaining people are )
so, have enough food ( Simplify by dividing by a common factor in numerator and denominator separately )
have enough food
Hence, if leave the house, the food will last for