A projectile is launched from ground as shown in the figure below. If hmax = 31 m and the angle the launch velocity makes with the horizontal is θ = 40∘, determine the flight time of the projectile. Take g = 9.81 m/s2 and express your answer in units of seconds with one decimal place.