Let the velocity of a particle be given by v(t) = 2t+a.(a) Find the number a such that the average value of v(t) on the interval [0,1] is -2.(b) Using v(t) from part (a), find the distance traveled by the particle during the time period from [0,4].