Two trains face each other on adjacent tracks. They are initially at rest, and their front ends are 34 m apart. The train on the left accelerates rightward at 1.18 m/s2. The train on the right accelerates leftward at 1.19 m/s2.
(a) How far does the train on the left travel before the front ends of the trains pass?