The longest part of the bracket goes against the wall underneath the shelf bracket. The length of the longest part should be around three quarters the width of the main shelving unit.