We have:
Food boths = 19
Game boths = 25
The fair lasts for d days
Cost of a food booth = 50 + 7d
Total cost of food booth = 19(50 + 7d), this is:
Cost of a game booth = 80 + 10d
Total cost of game booth = 25(80 + 10d), this is:
Total amount paid to the company = Total cost of food booth + Total cost of game booth
Therefore:
Answer: The expression is 2950 + 383d