The following is a cost function for clinic visits in a smallinner city clinic:Quantity of Visits Total Cost per Week0 $101 152 253 454 755 1156 165a. Determine the marginal cost for each level of outputb. If the price per visit is given to be $25 at what level ofvisits will the maximum profit position be? What are the profits atthis level? What is the quantity supplied?c. If the price per visit increases to $45 what will be thequantity supplied (assuming maximizing profits)?