You'll first have to learn how to use the flagstone on the right side of the screen before you can get the pin.
Whenever one goblin jumps on it, the lid near the safety pin springs up.
So if you put the other goblin on the lid, he'll shoot up. But you need a little more control over the lid to keep the goblins from flying everywhere.
Maybe a little more weight on the lid would help.