Four pounds of coffee cost $2.50 x 4 = $<<4*2.5=10>>10.
Two gallons of milk cost $3.50 x 2 = $<<3.5*2=7>>7.
So, Jasmine will pay $10 + $7 = $<<10+7=17>>17.
#### 17