A perfectly competetive firm faces a market price of $10 for its output of X. it owns two plants, A and B, whose total costs are
TC for firm A = 10 +2X + .25X^2
TC for firm B = 15 +.4X +.1X^2
How many units should each plant produce to maximize profit at that price?