Problem solving: read the problems carefully and do as directed.1. venice pays a monthly membership fee of p1500 for her yoga classes andan additional p50 for each class she attends. what is the functionc(x)that expresses the average cost per class if she goes toxclasses?2. a photocopy shop charges p1.00 per photocopy for orders of 100 or fewerphotocopies, p0.85 per photocopy in excess of 100 photocopies. write afunction representing the cost f in pesos for x number of photocopies. howmuch will the customer pay for 212 photocopies?3. in a certain beach resort, a boat ride cost p500.00 intended for 15passengers only. additional passengers are charged p50.00 per head. usea piece-wise function to represent the boat ride fare. how much is the boatride fare for 17 passengers.