A metro train starts from rest and in five seconds achieves $108\, km/h$. After that it moves with constant velocity and comes to rest after travelling $45\, m$ with uniform retardation. If total distance travelled is $395\,m$, then total time of travelling is.......$sec$