The sides are defined as the orthogonal directions from the enemy figure. Chart below. If the opposing player is E, when any two of the Gs have a goblin in them you activate the ability.
----------
X | G | X
----------
G | E | G
----------
X | G | X
----------