Pipe is related to Piece. Piece is a synonym of Patch. 
Style is related to Puzzle. Puzzle can be used for Play. Play is related to Tragedy. Tragedy is the opposite of Comedy. 
Pipe <--RelatedTo--> Piece <--Synonym--> Patch 
Style <--RelatedTo--> Puzzle --UsedFor--> Play <--RelatedTo--> Tragedy <--Antonym--> Comedy 