Answer:
5 seconds
Step-by-step explanation:
Acceleration,
![a=\frac {v-u}{t}](https://img.qammunity.org/2020/formulas/physics/middle-school/257a6chs6d9uwdxx5mdxiet4ya7s8ze3o0.png)
Where v and u are the final and initial velocities of the roller coaster respectively, t is the time taken for the coaster to reach the top of the hill.
Making t the subject then
![t=\frac {v-u}{a}](https://img.qammunity.org/2020/formulas/physics/middle-school/wb4lb63ijry0rojuq65g7u4lmygl5ay61z.png)
Substituting -3 m/s2 for a since it decelerates, 25 m/s for u, then 10 m/s for v then
![t=\frac {10-25}{-3}=5 s](https://img.qammunity.org/2020/formulas/physics/high-school/hx3u105otxy8rbkqlc5lhy8pkiewxkhsx7.png)