John buys game loot boxes for $5 each.  The average value of items inside is $3.5.   He spends $40 on loot boxes.  What is the average amount he lost?
Please reason step by step, and put your final answer within \boxed{}.
user