Reverse the engine into the siding on the bottom left, then hit the junction control lever to create a route to the railcars. Pull the railcars to the central part of the top track loop and leave the red one there. Head into the top-left siding, then switch the junctions and guide the train down to the bottom left.
Continuing from Hint 1, you need to find a way to travel along the bottom track to reach the siding on the far right.
After that, you want to head up and couple to the red railcar. Push it along a little, so that all three parts of the train are sitting between the junctions in the top part of the track loop. You'll notice that from left to right the order of the railcars is red, blue, just as it is for the train on the top track.
After following the previous hints, the next step is to uncouple the engine from the railcars, switch the junctions, and bring the engine down and then into the siding on the bottom left of the screen.
Next, you have to switch the junctions again and bring the engine into the top-left siding. The engine should now be facing left.
If you reverse the engine and couple it with the railcars, the train should look just like the one on the top tracks.