Drag each train by either end into the tunnel of its color. The cars follow the engine, so plan the order.
Try again, or keep going without the clock (it won't count for a best time).