It's not that complicated. Power right rail, Power left rail, motor + and motor - , light +, light -.
Start with applying power to each rail and tracing that back to the tender, also might have the same power wires connected to the tender wheels too.
Second feed DC power to the remaining 4 wires...