question: If the dog on the right is standing on grass, but the dog on the left is not standing.
#1 return dogs 
#2 return #1 that is on   the  right 
#3 return grass 
#4 return if  #2 is standing  on   #3 
#5 return #1 that is on   the  left 
#6 return if  #5 is standing  
#7 return if  #6 is false 
#8 return if  both  #4 and #7 are true