First of all, the producer needs to calculate the marginal product of labor by dividing the change in total product by the change in labor. Then, considering the fact that all 100 workers have identical skills and both steel rods and steel beams are being sold for the same price, the producer should allocate workers so that the marginal product of labor is the same in both rod production and beam production.