well the price of the basket decreased. so i would assume it should be deflation or discount for the first blank at a rate of 12.5% you get this by

"1" is the amount of dollars the basket decreased by
**cross multiply the 1 dollar by the 100%
** divide by 8 and you get 12.5%
then the last too blanks are easy ust divid each price into 40
40/8 = 5 baskets
40/7 = 5.71 baskets