question: If the trains in both images travel on straight tracks in the same direction.
#1 return trains 
#2 return #1 that are on straight tracks 
#3 return direction of #2 
#4 return #2 where  #3 is the  same 
#5 return images 
#6 return number of  #4 for each  #5 
#7 return #5 where  #6 is equal to  one 
#8 return number of  #7 
#9 return if  #8 is equal to  two