Substance is related to Paint. 
Custody is a synonym of Care. Care is related to Have. Have is related to Lip. 
Substance <--RelatedTo--> Paint 
Custody <--Synonym--> Care <--RelatedTo--> Have <--RelatedTo--> Lip 