When a ball falls from rest under gravity, then the distance travelled by it in last two seconds is six times the distance travelled by it in first two seconds. The total time of journey is ?