If in the image on the right, the dog's body is facing to the right.
return right  image ;return dog of #1 ;return the  body of #2 ;return if  #3 is facing right
['select', 'project', 'project', 'boolean']