I have the second setup in your diagram, with the motor in the middle. It is impossible to get enough tension in the belt without putting big loads in the spindle bearings.
I added a guide to push the middle section of the belt above the motor to reduce floppiness. still not good.