A rock is dropped from a sea cliff and the sound of it striking the ocean is heard 3.9 s later. If the speed of sound is 340 m/s, how high is the cliff?

i know you use the equation y=(initial velocity)(time) + (1/2)(acceleration)(time^2) but I'm having problems putting all the pieces together. If someone could walk me through the steps I would be very grateful.