Let's Make Robots!

Mr.Basic motors connection

Hello Everybody,

I have a question, and after I read a lot of this in this forum, I saw many answers but I didn't understood nothing. My problem is I am a programmer not an electronic, so if someone could help me I will be very appreciated.

I bought a Mr.Basic system and I will connect it to an arduino uno + arduino motor shield. I have some simple questions.

The batterie support has 2 wires. Where do I connect them?

The motors has 4 (2 each other) pins. Where do I connect them?