The problem shall be formulated slightly better. If a ball was thrown up from the ground, the Robert's solution is right. However, the problem does not state this, so this is just an assumption, however logical it may be.
As for the time in the air, it is twice the time to get to the top, that is
You can formally write the equation of motion:
y=y0+vt-gt2/2; Here y0 is the initial position, assumed to be zero (ground level), v is the initial velocity, pointed up, which is also positive y-direction, therefore + sign in front of vt term, g--acceleration due to gravity, pointing down, hence negative sign in front of the term gt2/2. Once you know the velocity (see Robert's solution for v), you know full equation of motion:
Ball falls back to the ground, which means that its y-coordinate is zero. Set y=0, you will obtain:
15.65t-4.9t2=0; Factor t out, you will get:
There are two solutions to this equation:
First solution is trivial and corresponds to the initial position of the ball, just before it was thrown up into the air.
Second one corresponds to the moment when the ball falls back to the ground. This is the one you need.