Explanation of work and energy problem involving sliding friction