Work efficiency and time are known in the problem. Planned total amount = actual total amount
The plan is completed in x days.
50*(X+8)=60*(X-5)
50X+400=60X-300
10X=700
X=70
These parts are * * * 50*(X+8)=50*78=3900.