4 quarts is equal to a gallon and during the 20 seconds of dispensary 3 gallons where dispensed so there would be 12 quarts dispensed instead of gallons and that is equal to 24 pints by multiplying the 12 quarts by 2 to get your pints.
16 people would be at the dinner because Jim and Sarah invited 7 friends and each friend brought 1 guest, so you do 7*2=14 and the 14 + Jim and Sarah=16 people.