We use the kinematic equation for vertical motion,

Here,
,
and
.
Therefore, the initial velocity when the object is at height 30 m, from above equation

Now the displacement before the reaching the height 30.0 m above the ground, we use kinematic equation

Here,
,
because freely falling object, released from rest and
and we take height -h because downward falling.
Substituting these values in above equation, we get
.
Therefore, the total distance the object travels during the fall, s+h= 30 m+ 8.16 =38.16 m.