Please show all steps as I am really confused on how to work this.The inverse market demand in a homogenous-product Cournot duopoly isP = 100 ? 2(Q1 + Q2) and costs are C1(Q1) = 12Q1 and C2(Q2) = 20Q2.a. Determine the reaction function for each firm.b. Calculate each firm?s equilibrium output.c. Calculate the equilibrium market price.d. Calculate the profit each firm earns in equilibrium.