Hint 1
All right, here's an example of a way in which this puzzle can be solved:
First off, move the engine over to the left and couple it to the trucks. Then drag the trucks to the top section of the loop and leave them there. You need to uncouple from both trucks, so make sure you touch the blue truck, not the red one.