A company rents out 18 food booths and 21 game booths at the county fair. The fee for a food booth is $150 plus $8 per day. The fee for a game booth is $65 plus $6 per day. The fair lasts for d days, and all the booths are rented for the entire time. Enter a simplified expression for the amount, in dollars, that the company is paid.