An industry has only two firms producing outputs y1 and y2, respectively. The first firm has a

cost function of TC(y1) = 20 + 20y1 and the second has a cost function TC(y2) = 10 + 5y2 + y22. The demand function for the product these firms make is Q = 120 - 3P, where Q is the
total output of the two firms. What are the firms' outputs in equilibrium?