You need to first get yourself the Chef's Uniform and then help the Piranha Poodles cause mayhem while you snatch the Gunpowder Gummies. Finally, place a Gunpowder Gummy in the lock of Otis' cell and light the fuse to set him free.