The correct options are
A At rest with respect to each other.
D In motion with respect to an observer standing outside the train.
Rest and motion are relative, a body can be in motion with respect to an object and the same body can be at rest with respect to another object.
So if 2 trains are moving in the same direction with the same speed, and if two passengers, one in 1st train and another in 2nd train will look at each other, they will observe that they are at rest with respect to each other.
Whereas, for a person standing outside the train both of them will appear to be in motion.