2. The cost of hiring a catering service to serve food for a party is P250.00 per head for 50 persons or less, P200.00 per head for 51 to 100 persons, and P150.00 per head for more than 100. Represent the total cost as a piecewise function of the number of attendees to the party.