Lily was forwarded a cookie beside the bag beside a machine .
* bag ( x _ 7 ) ; forward . recipient ( x _ 2 , Lily ) AND forward . theme ( x _ 2 , x _ 4 ) AND cookie ( x _ 4 ) AND cookie . nmod . beside ( x _ 4 , x _ 7 ) AND bag . nmod . beside ( x _ 7 , x _ 10 ) AND machine ( x _ 10 )