If the hog in the left image is facing left while the hog in the right image is facing right.
return left  image  ;return right  image  ;return hog  of #1 ;return hog  of #2 ;return if  #3 is facing left  ;return if  #4 is facing right  ;return if  both  #5 and #6 is true
['select', 'select', 'project', 'project', 'boolean', 'boolean', 'boolean']