A chain rests on a table, and is released. 1/4th sits on the table, while the remaining 4/5ths of the length hangs before it is released. Calculate the time it takes to leave the table.