let’s say that the bike starts from zero and accelerates at 5m/s^2 for t secs until it reaches v m/s
Then (v−0)/t=5 or v=5t, and −v=−5t
If T is the total time then there is T-t secs left to stop using a deceleration of
−10m/s2,so
(0−v)/(T−t)=−10
−v=−10T+10t but−v=−5t, so
−5t=−10T+10t
10T=15t
T=3t/2
Now use the piece of information given the distance 1500m
[1/2]vT=1500
vT=3000 . Note we have v and T in term of one [1] unknown t
[5t][3t/2]=3000
15t2=6000
t2=400
4t=20
SoT=3t/2=3[20]/2=30secs