The normal force acting on the mass can be given as,

The frictional force acting on the box is,

Substitute the known expression,

The work done by frictional force can be given as,

Substitute the known expression,

Substitute the known values in the equation,

Thus, the work done by the frictional force is 601 J.