$${t = - \frac{v_{0x}}{a_x} = \mathrm{\frac{20\, \frac {m}{s}}{- 4\, \frac{m}{s^2}} = 5\, s}}$$