The normal price of the lessons would be 20*40=$<<20*40=800>>800
The discount saves him 800*.25=$<<800*.25=200>>200
So the lessons cost him 800-200=$<<800-200=600>>600
That means everything costs 500+600=$<<500+600=1100>>1100
#### 1100