hinged O guage 3 rail train layout

How do you wire the tracks of the hinged and stationary portions of a O guage 3 rail layout so the joining tracks transfer and receive power from each other? Your time and cooperation are appreciated.

Rick Perrotta, San Diego, CA

email: eperrotta@cox.net