Trouble is a synonym of Care. Care is a synonym of Attention. Learning requires Attention. Learning can cause/lead to Effectiveness. 
Rock is a synonym of Foundation. 
Trouble <--Synonym--> Care <--Synonym--> Attention <--HasPrerequisite-- Learning --Causes--> Effectiveness 
Rock <--Synonym--> Foundation 