You can break it up into two parts.
1 - The time t0 taken for the pebble to drop down to a distance h.
2 - The time taken t1 for the sound to reach the observer from a distance h.
For the first part you can get the equation
h = \dfrac{1}{2}at_0^2
For the second part you can get the equation
h...