By the second equation of motion,
s = ut + 1/2 at^2
S is directly proportional to the time only when there is no external force acting on it.
In the absence of external force, acceleration ‘a’ of the object becomes zero and the equation of motion becomes
Since acceleration is zero so speed ‘u’ of the object remains constant.
Hence, it can be concluded that S is directly proportional to t.