At a fair there are 18 game booths and 27 food booths. The fee for a food booth is $75 plus $5 per day. The fee for a game booth is $50 plus $8 per day. The fair lasts for d days, and all of the booths are rented for the entire time. Write and simplify an expression for the amount in dollars that the company is paid.