A train starts from station A and for the first kilometer, it travels with a uniform acceleration. Then for the next two kilometers, it travels with a uniform spped. Finally, the train decelerates uniformly for another kilometer before coming to rest at station B. If the time for the whole journey is six minutes, draw the v-t graph and determine the maximum speed of the train.