Merry Products interview question

Pallets calculations and calculation questions