The distance function is the integral of the velocity function. The "displacement" is the value of the distance function at . You say you have already done that. And you have found that the velocity function is negative for so you need to change the sign for "distance traveled". If yu drive 100 miles east and then 100 miles west, you will be right back where you started. Your "displacement" will be 0 but you have traveled 200 miles.