A train car moving along at 3 m/s runs into another train car at rest on the track. The cars attach together and continue moving in the same direction. The velocity of both cars together after the collision is