Poem can be used for Romance. Poem can be used for Class. Class is related to Test. Test is related to Set. 
Fire can be used for Cook. Fire is the opposite of Hire. 
Romance <--UsedFor-- Poem --UsedFor--> Class <--RelatedTo--> Test <--RelatedTo--> Set 
Cook <--UsedFor-- Fire <--Antonym--> Hire 