$${t = \sqrt{\frac{2x}{g_x}} =\mathrm{ \sqrt{\frac{2\cdot 20\, m}{9,8\, \mathrm{m}{s^2}}} \approx \sqrt{\frac {40}{20}\, s} = 2\, s}}$$