A train moves along a straight horizontal track between two stations, A and B. The train starts from rest and moves with acceleration of 0.6ms-2 for 40 seconds. The train moves at constant velocity before decelerating at a rate of 0.4ms-2 until it reaches B. The total distance between the two station is 4 km.
Sketch a velocity-time graph for the motion of the train between A and B.
Find the total time taken by the train to travel from A to B.