Using the information from the table below, answer the following questions.

Production โ‡” Total cost
0 โ‡” 80
1 โ‡” 140
2 โ‡” 180
3 โ‡” 200
4 โ‡” 240
5 โ‡” 320
6 โ‡” 420
7 โ‡” 540
8 โ‡” 680

a. Total average costs for the production of 4 products.
b. Marginal cost for the production of the 6th product.
c. If its price is 100$, find the maximum profit for a perfectly competitive firm (MR=MC).