Gate is related to Compound. Compound is a synonym of Settle. 
Dock is a synonym of Tail. Tail is related to Hair. Root is part of Hair. 
Gate <--RelatedTo--> Compound <--Synonym--> Settle 
Dock <--Synonym--> Tail <--RelatedTo--> Hair <--PartOf-- Root 