The horizontal speed of projection of a dart is calculated by the equation v = at, where a is the acceleration of the dart and t is the time of flight.
If air resistance is ignored the vertical height of the object at given times after the start is the same no matter what horizontal velocity it had at the moment of release.
The time to travel all the way up and back to its original height, d = 0m, can be calculated by assuming it was dropped with initial speed the same as the original speed.
The answer is 4 seconds, calculated by assuming it is being dropped from the top at rest with a new value for d: distance to the top + 20m, and calculating the time.