If at least one image shows a dark brown bag and a golden-yellow bag behind a white pillow.
return bag  ;return #1 that is dark brown ;return #1 that is golden-yellow ;return #2 , #3 ;return pillow ;return #5 that is white ;return #4 that are behind #6 ;return if  #7 is in  at least one image
['select', 'filter', 'filter', 'union', 'select', 'filter', 'filter', 'boolean']