If the roof in the left image is straight across the bottom and forms a simple triangle shape.
return the  left image ;return the  roof in  #1 ;return the  bottom of #2 ;return if  #3 is straight across ;return shape of #2 ;return if  #5 is a  simple triangle ;return if  both  #4 and #6 are true
['select', 'project', 'project', 'boolean', 'project', 'boolean', 'boolean']