Nigel and Petra are hosting a dinner for 300 guests. Cheers Banquet hall has quoted these charges. <br>
* $500 plus $10 per person, for food.<br>
* $200 plus $20 per person for drinks.<br>
* a discount of $5 per person if the guests exceed 200. <br>
What can be function equivalent to the given situation ?