Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
 John hununua sanduku za zawadi za mchezo kwa $5 kila moja. Thamani wastani ya vitu ndani ni $3.5. Anatumia $40 kwa sanduku za zawadi. Kiasi wastani alichopoteza ni kiasi gani?


### Response:
 Alichonunua ni sanduku 40/5=<<40/5=8>>8
Anapoteza kiasi wastani cha 5-3.5=$<<5-3.5=1.50>>1.50 kwa kila sanduku
Hivyo anapoteza kiasi wastani cha 1.50*8=$<<1.50*8=12>>12