Solution is the opposite of Problem. Problem is related to Apple. 
Alone is a synonym of Only. Only is related to Single. Single is the opposite of Pair. 
Solution <--Antonym--> Problem <--RelatedTo--> Apple 
Alone <--Synonym--> Only <--RelatedTo--> Single <--Antonym--> Pair 