Suppose the market demand is $P(Q) = \alpha - \beta(Q)$ where $Q = \sum q_1$. Variable $q_i$ denotes the output of the $i$th firm and $Q$ is the total output. The marginal cost for each firm is $c$.
What's the quantity that each firm will set for themselves in a perfectly competitive market?
I reckon the (market) price will be $c$ which means the overall market size will be given by $Q = \frac{\alpha - c}{\beta}$. What next?