Affair is a synonym of Function. Hat is a type of Function. Hat is a synonym of Lid. 
Scale is related to Method. Method is a synonym of Dynamic. 
Affair <--Synonym--> Function <--IsA-- Hat <--Synonym--> Lid 
Scale <--RelatedTo--> Method <--Synonym--> Dynamic 