A collie drags its bed box across a floor by applying a horizontal force of 3.1 N. The kinetic frictional force acting on the box has magnitude 1.6 N. As the box is dragged through 0.26 m along the way, what are
(a) the work done by the collie's applied force and
(b) the increase in thermal energy of the bed and floor?