The conditions of producers equilibrium are:
(i) MC must be equal to MR (MC = MR)
(ii) Beyond the level of output at which MC=MR, MC must be greater than MR]
Both these conditions are satisfied at 4 units of outputs so producer is in equilibrium if he produces 4 units of output.