If the sax in the left image is pointed left and the sax in the right image is pointed right.
return the  left image ;return the  right  image ;return sax  in  #1 ;return sax  in  #2 ;return if  #3 is  pointed left ;return if  #4 is  pointed right  ;return if  both  #5 and #6 are  true
['select', 'select', 'project', 'project', 'boolean', 'boolean', 'boolean']