Calculate the quantity that each firm will produce.

Calculate the quantity that each firm will produce.