question: If one image shows a puppy and the other shows an adult dog.
#1 return one image 
#2 return dog in  #1 
#3 return if  #2 is a  puppy 
#4 return the  other image 
#5 return dog in  #4 
#6 return if  #5 is an adult 
#7 return if  both  #3 and #6 are true