If the trains in both images travel on straight tracks in the same direction.
return trains ;return #1 that are on straight tracks ;return direction of #2 ;return #2 where  #3 is the  same ;return images ;return number of  #4 for each  #5 ;return #5 where  #6 is equal to  one ;return number of  #7 ;return if  #8 is equal to  two
['select', 'filter', 'project', 'comparative', 'select', 'group', 'comparative', 'aggregate', 'boolean']