The solution would be like this for this specific problem:
No. of Packages sealed
= (1 for Previous Shift) + (40 for My Shift) = 41
Previous Shift: (60-52)
My Shift sealed: (40x60)
My Shift unsealed: 24
Rejected: 34
Total = 8 + 2400 +24 + 34
= 2466
So, there were a total of 2,466 mouse traps that were produced during a shift.