It would be very tight to mount rack shelves side by side in a 36" space.
I know humor when I see it. That's some.
A good answer is easier with a clear question giving the make and model of everything. "The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw