If the dog in the right image is panting with its tongue hanging out.
return the  right image ;return dog in  #1 ;return if  #2 is panting ;return tongue of #2 ;return if  #4 is hanging out ;return if  both  #3 and #5 are true
['select', 'project', 'boolean', 'project', 'boolean', 'boolean']