Two trains A and B simultaneously start moving along parallel tracks from a station along same direction. A starts with constant acceleration 2 m/s^2 from rest