The position of an oscillating mass is given by:
[tex] x(t)=A cos (\omega t) [/tex]
where A is the amplitude of the oscillation, [tex] \omega [/tex] the angular frequency and t the time.
The velocity of the oscillating mass can be found by calculating the derivative of the position:
[tex] v(t)=x'(t)=-\omega A sin (\omega t) [/tex]
In this problem, A=2.0 cm and [tex] \omega=10 rad/s [/tex], so if we substitute these data and t=0.4 s we can find the velocity at t=0.4 s:
[tex] v(t)=-(10 rad/s)(2.0 cm) sin ((10 rad/s)(0.4 s))=-13.07 cm/s=-0.13 m/s [/tex]