The teacher was lended the cake on a table by a girl .
* teacher ( x _ 1 ) ; * cake ( x _ 5 ) ; lend . recipient ( x _ 3 , x _ 1 ) AND lend . theme ( x _ 3 , x _ 5 ) AND lend . agent ( x _ 3 , x _ 11 ) AND cake . nmod . on ( x _ 5 , x _ 8 ) AND table ( x _ 8 ) AND girl ( x _ 11 )