A particle leaves its initial position x0 at time t=0 moving in the positive x direction with speed v0 but undergoing acceleration of magnitude (a) in the negative x direction. Find expressions for a) the time when it returns to the position x0 and b) its speed when it passes that point.