How a firm reaches short run equilibrium and what is the amount of profit?