$1,365
Step-by-step explanation:
Large Pizza: 40*12= $480
Medium Pizza: 57*10= $570
Small Pizza: 35*9= $315
480+570+315= $1,365