Those are not the wires going to the motor but the signal wires going to the drives. The motor wires are connected to the black drives from your first post picture (A+; A-; B+; B-)