In this problem, your h_o is 500. Put this into your equation to make it:
h(t) = -4.9t^2 + 500
Next, you want to know how long it will take for the ball to reach the ground. The ground will then be equal to 0 in this problem, so you will simply set your equation equal to 0 and solve for x:
0 = 4.9t^2 + 500
Now, all you have to do is solve the equation for t, and this will be your answer.