Firm 1 and Firm 2 produce g and 4, units of a homogeneous good. Firm 1 is located upstream from Firm 2, and also produces z units of pollution. Costs for the two firms are given by: C1(q1, z) = q1 + (z - 1)^2C2(q2, 2) = q2 + 0.1zq2 Market demand for the good is given by P(q1 + q2) = 2 - q1 - q2.(a) Set up the profit maximization problem for each firm.(b) How much will fir 1 choose to pollute?(c) What are the equilibrium quantities of output chosen by each firm?(d) Suppose there is a market for pollution. That is, firm 1 must pay firm 2p. for each unit it pollutes. What is the equilibrium price of pollution?How much does firm 1 pollute? How do the equilibrium quantities of pollution and output in parts (b) and (c) compare to this new equilib-rium?(e) How do the equilibrium quantities of output in part (c) compare to what you would observe if pollution was banned?(f) How do the equilibrium quantities of pollution and output in parts (b) and (c) compare to what you would observe if pollution was not banned but the firms acted as perfect competitiors?