Photo is etymologically related to Photograph. 
Graduation is a type of Line. Graduation is related to Undergraduate. 
Photograph <--EtymologicallyRelatedTo-- Photo 
Line <--IsA-- Graduation <--RelatedTo--> Undergraduate 