The first group spends 20 x £2 = £40
Then, after the new group have joined, the total spend is now 40 x £7 = £280
So the extra money spent by the second group of customers = £280 - £40 = £240
Since 20 people spent £240, their average spend was £240 divided by 20 = £12
Chris