Total bags of dog food to feed the dogs =
bags
Total bags of food eaten by dogs per week =
bags
We have to determine the number of weeks, worth of dog food which Emma has.
The number of weeks are calculated by dividing the total number of bags of dog food divided by the total bags of food eaten by dogs per week.
So, The number of weeks = 
= 
= 
= 
= 
= 
= 6.9
= 7 weeks
So, Emma has dog food for 7 weeks.