A block of mass m is placed on an another rough block of mass M and both are moving horizontally with same acceleration a due to a force which is applied on the lower block, then work done by lower block on the upper block in moving a distance s will be