Answer:
$2400 for 31 attendees (at both venues)
Explanation:
x = # of attendees
hotel: 819 + 51x
restaurant: 788 + 52x
818 + 51x = 788+ 52x
x = 818 - 788 = 31
cost: 819 + 51(31) = 2400 hotel
check the restaurant, just to make sure...
788 + 52(31) = 2400