A student is standing on a railway station. A train is coming towards him. The first two carriages is passed her in 2seconds and next two is passed in 2.4 seconds. The train is uniformly decelerating. When the train stops the student is standing in front of the last carriage. How many carriages are there in the train?