Let's call the constant acceleration a.
At a time t, its speed will thus be v(t)=a*t+v0 where v0 is its initial speed, here 10 m/s. Hence v(t)=a*t+10.
From there we can deduce the position P(t)=a*t^2/2+10t+p0 where p0 is the initial position, here 0.
Hence P(t)=a*t^2/2+10t
Let's call T the time at which it's at 50 m/s, we know that P(T)=225m and that v(T)=50 m/s hence a*T+10=50 thus a=40/T and P(T)=(40/2+10)T=30T
Hence T=225/30=7.5
It took 7.5 seconds