is the nearest red item the same shape as the farthest green item?
return red item ;return #1 that is  nearest ;return green item ;return #3 that is  farthest ;return shape of #2 ;return shape of #4 ;return if #5 is  the   same as #6
['select', 'filter', 'select', 'filter', 'project', 'project', 'boolean']