There are 8 pints in one gallon. So, Avery would need 8 times 2 pints because she needs 2 gallons and there are 8 pints in every gallon.
8 x 2 = 16
Now subtract what she already has from the total she needs.
16 - 7 = 9
So, Avery needs 9 more pints of milk.