We found the friction earlier, the friction has a magnitude of 52.71 N.
Now, we know that the work is given by:
but this is the formula for when the forces and displacements are colinear and point in the same direction; in this case the friction points in the opposite direcion of the displacement, then the work the friction does has to be negative. Plugging the values we have that:
But as we said this work has to be negative. Therefore we conclude that the work done by the force of friction is -601 J (rounded to 3 significant digits)