(40-x)(20+2x)>= 1200
When 10
When x= 15, the maximum profit 1250 yuan can be obtained.
When x= 10, the daily profit 1200 yuan can be obtained with the least labor.
When x=30, the inventory can be reduced as quickly as possible, and the daily profit is 1200 yuan.