Gem Problems

I have a 2002 Gem Car that I just purchased and I need help. When I got the car it only had 4 batteries and it did run. I now have put in 6 batteries and even with the manual I am having a problem with the cables. I have 3 cables going to the front battery and I don’t know where they go. Can anyone help?