A trolley rolls down in inclined plane with a constant acceleration of 6m/s2. Find the time taken to travel between instants with its velocity is 25m/s and 30m/s

We know that,
acceleration = Change in velocity/time
a = (v – u)/t
Given, a = 6 m/s^2, v = 30 m/s and u = 25 m/s
Thus, t = (v – u)/a
t = (30 – 25)/6
t = 5/6 s