Solve the below problem:
Q: A particle moves in a straight line with a constant acceleration of -2 m/s2 for 6 s, zero acceleration for the next 4 s, and a constant acceleration of +2 m/s2 for the next 4 s. Knowing that the particle starts from the origin and that its velocity is 4 - m/s during the zero acceleration time interval,
(a) Construct the v - t and x - t curves for 0 = t = 14 s,
(b) Determine the position and the velocity of the particle and the total distance traveled when t = 14 s.