For finding out the displacement, simply put t=1 and t=0, and subtract the two quantities,
To find the distance, do this:
We are given : 
Now,
, ie, at this time, the displacement changes its sign.
So, the distance can now be found out as 
(Take mod of both the integrals)