It is given that the rented space cost is $4000
Each widget requires $77 worth of materials and $43 worth of labor.
Therefore the cost price of one widget is:

The cost of 230 widgets is:

Hence the total cost is given by:

Hence the total cost of producing 230 widgets is $31600.