Figure is related to Dad. 
you are likely to find Child in/at/on School. you are likely to find School in/at/on City. City is related to Code. 
Figure <--RelatedTo--> Dad 
Child --AtLocation--> School --AtLocation--> City <--RelatedTo--> Code 