Check the picture below.

now, keeping in mind that x-axis is the seconds, however a parabola could go into the 2nd, 3rd and 4th Quadrants, but for this case, we only need it in the 1st Quadrant, because the seconds are positive, it begins at 0 seconds and goes up, then down and hits the ground later on when f(x) = 0, hmmm when is that?

now, both values are valid for "x", however for this specific case, we can't have negative seconds, so the negative value won't work. So the appropriate domain or values for "x" are from 0 to 4, the object went up and down in 4 seconds flat.