My motor shield is only controlling one motor when my code is for two

Where's the power supply ?
What's the specifications of those motors ?

The now correct placed code in your first post, still doesn't match the hardware.

There's a lot wrong so it seems.
Tackle it one by one.