A particle moves along a line so that its position at time t seconds is s(t)=t3−6t2+9t metres.
(i) Obtain the velocity function v(t).
(ii) Find the time(s) when the particle is momentarily at rest.
(iii) State the direction of motion immediately after t=2s based on the sign of v(t).