A tram leaves a station and accelerates for 2 minutes until it reaches a speed of 12 metres per second. It continues at this speed for 1 minute. It then decelerates for 3 minutes until it stops at the next station. The diagram shows the speed-time graph for this journey.

Calculate the distance, in metres, between the two stations