This really isn't that difficult that all.
See that switch close by?
That will call the trams to your station!
The switch inside the trams will move it between the two stations!