If the train in the image on the right has red markings on the front and is facing right.
return the  image on the   right  ;return the  train in  #1 ;return if  #2 is facing right  ;return front of #2 ;return markings ;return #5 on #4 ;return if  #6 are red ;return if  both  #7 and #3 are true
['select', 'project', 'boolean', 'project', 'select', 'filter', 'boolean', 'boolean']