Position function
s(t)=-t^3/3+13t^2/2-30t
velocity function
v(t)=s'(t)=-t^2+13t-30
For particle to move to the right (positive x-axis), v(t)>0.
Solve v(t)=0
v(t)=0 when t=3 or t=10
Since leading term of v(t) is negative, the maximum is between t=3 and t=10, i.e.
v(t)>0 for 3<t<10.
Since the domain of t is [0,9], so the particle moves to the right for 3<t<9,
i.e. reject the interval (9,10).