This will produce one shelf and six brackets, of which you will only use five. It will also produce 4-inch wide cleat material. I show two rip cuts for the cleats. Glue and screw these together ...