If someone could please help me with this problem, I'd greatly appreciate it.

A particle moves along the x-axis so that its velocity at any time t≥0 is given by v(t) = (3t^2) -2t - 1 . The position x(t) is 5 for t = 2.

a) For what values of t, 0 ≤ t ≤ 3, is the particle's instantaneous velocity the same as its average velocity on the closed interval [0,3] ?

b) Find the total distance traveled by the particle from time t = 0 until time

t =3.

Thanks for any help!