Time taken by the first object to reach the ground =t, so
122.5=ut+12gt2
122.5=12×10×t2
⇒t=5sec (approx)
Time to be taken by the second ball to reach the ground =52=3sec.
If u be its initial velocity then,
122.5=u×3+12gt2=3u+12×10×9
3u=122.5−45=77.5
u=26 (approx)