Determining the displacement of a particle from velocity function by integration

A particle moves along a straight line from a fixed point .Its velocity,

after leaving point is given by

a)Find the total distance travelled by the particle between and

i get,

total distance travelled by the particle between and

total distance travelled by the particle between and

therefore,total distance travelled by the particle between and

is that correct?

b)determine the maximum displacement of the particle from point before it reverses the direction of motion..

how can i find?