A particle starts from rest at t = 0 and moves in a straight line with an acceleration as shown below. The velocity of the particle at t = 3 s is