Race is related to Driving. Driving is related to Vehicle. 
City is related to Library. Library is related to Rental. Rental is derived from Rent. 
Race <--RelatedTo--> Driving <--RelatedTo--> Vehicle 
City <--RelatedTo--> Library <--RelatedTo--> Rental --DerivedFrom--> Rent 