Your wiring would be correct and give you 4Ah @ 18v.

[+ -][+ -][+ -]