If the two trains pictured head in opposite directions, and the train on the right has three windows across the front.
return trains ;return directions of #1 ;return if  #2 are opposite ;return #1 that is on the  right ;return front of #4 ;return windows across #5 ;return number of  #6 ;return if  #7 is equal to  three ;return if  both  #3 and #8 are true
['select', 'project', 'boolean', 'filter', 'project', 'project', 'aggregate', 'boolean', 'boolean']