A body is thrown on a rough surface such that the friction force acting on it is linearly varying with the distance travelled by it as f = ax + b. Find the work done by the friction on the box