The girl handed the donut beside the machine to Liam .
* girl ( x _ 1 ) ; * donut ( x _ 4 ) ; * machine ( x _ 7 ) ; hand . agent ( x _ 2 , x _ 1 ) AND hand . theme ( x _ 2 , x _ 4 ) AND hand . recipient ( x _ 2 , Liam ) AND donut . nmod . beside ( x _ 4 , x _ 7 )