Answer :
Your first and second derivatives which are the velocity and the acceleration respectively are correct.
The particle has reverses direction when v(t) ≤ 0 so at interval 2 < t < 5 sec.
You can substitute now t = 2 for s(2) and a(2) for first changing direction. Also t = 5 for s(5) and a(5) for second changing direction.
The particle has reverses direction when v(t) ≤ 0 so at interval 2 < t < 5 sec.
You can substitute now t = 2 for s(2) and a(2) for first changing direction. Also t = 5 for s(5) and a(5) for second changing direction.