Matthew lended a cake beside the chair to the doctor .
* chair ( x _ 6 ) ; * doctor ( x _ 9 ) ; lend . agent ( x _ 1 , Matthew ) AND lend . theme ( x _ 1 , x _ 3 ) AND lend . recipient ( x _ 1 , x _ 9 ) AND cake ( x _ 3 ) AND cake . nmod . beside ( x _ 3 , x _ 6 )