This is a problem of projectile motion. We can write the equation of the height of the ball after t seconds as follows:
Being H the height when the player hits the ball (t=0s) and the initial upward velocity. According to this formula, . We have chosen this equation as the correct because , that is, this is the more logical answer given that the player hits the ball at and when this happens, the ball is 3 feet from the ground.
v=⌠a dt since a≈-32
v=-32t+C, where C is the initial velocity, which we are told is 20 ft/s
h=-32t^2/2+20t+C, where C is the initial height, so what is a reasonable initial height? How about 3 ft since we are swinging a bat around maybe our waist level... maybe :P
Your choices may have made a different assumption about the initial height of course but you did not show your choices, but certainly it will be:
h(t)=-16t^2+20t+hi, where hi is the initial height in feet.
This of course ignores air resistance and flight dynamics of a spinning ball with seams, which will make a significant difference in real life :)