How do I open the second gate with a shelf next to it?


Hint 1 of 3:
Do you remember how the first gate worked?  If you put a head on it, then
the shelf would fall and the door would open.

Next