A firm with marginal cost equals to its marginal revenue will produce the equilibrium output…