Check the picture below.
so the domain will be the values that "x" gets, now, the maximum height of the ball is when it reaches the vertex or U-turn up above, well, what is the x-coordinate anyway?
so then x = 2.9375 at the vertex, now, what is "x" when it hits the ground? recall y = 0 at that instant.
so then, the values for "x" or namely the domain from the vertex till the ball hits the ground is 2.9375 < t < 6.