Doc and Img folders management

Hi all,

I’ve to understand exactly wich is the right setting of all folders you can use on system to manage docs and img attachment (not database).
If you see the attached picture it’s clear that is quite a mess and I need to redo the best of breed setting asap.
Please suggest me the exact syntax becouse it matters
Many thanks

dir_mess.jpg