Logan passed Emma the cake beside a seat beside a table .
* cake ( x _ 4 ) ; pass . agent ( x _ 1 , Logan ) AND pass . recipient ( x _ 1 , Emma ) AND pass . theme ( x _ 1 , x _ 4 ) AND cake . nmod . beside ( x _ 4 , x _ 7 ) AND seat ( x _ 7 ) AND seat . nmod . beside ( x _ 7 , x _ 10 ) AND table ( x _ 10 )