If the left image contains only non-newborn mouse-like pets, and the right image shows all mouse-like pets on shredded bedding.
return left image ;return pets in  #1 ;return #2 that are  mouse-like ;return #3 that are  non-newborn ;return number of #2 ;return number of #4 ;return If #5 is  equal to #6 ;return right image ;return pets in  #8 ;return #9 that are  mouse-like ;return #10 that are  in  shredded bedding ;return number of #9 ;return number of #11 ;return If #12 is  equal to #13 ;return If both  #7 and #14 are  true
['select', 'project', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'select', 'project', 'filter', 'filter', 'aggregate', 'aggregate', 'boolean', 'boolean']