Okay, for step one you need to get the command blocks in your inventory. Make sure you have cheats ON and say "/give (player name) command_block". After you get in in your inventory place 5 in a row. Then you right click the first one and put the command "/give @a 306". Then exit out of that command block and right click the next one. In this one you put "/give @a 307", then in the next put 308, then 309. In the last command block put "/give @a 261".
Step 2: Redstone
Next you layer the redstone. Make sure that the redstone connects all of the command blocks. It doesn't have to be exactly like I put it. The simple way is to just put a redstone repeater next to each one and connect those.
Step 3: Test!
Finally, testing! Just hook up a lever or button to the source, so when you pull the lever activates the redstone. It SHOULD give you iron armor and an iron sword. If you would like for it to give you other items, just look up the item on minecraft wiki. Instead of 262 or whatever the number is, put the Id of the number you would like it to give you. Enjoy!