only one dc motor spins

Use either one or another power source, not both!