The cookie was lended to a guest by the frog .
* cookie ( x _ 1 ) ; * frog ( x _ 9 ) ; lend . theme ( x _ 3 , x _ 1 ) AND lend . recipient ( x _ 3 , x _ 6 ) AND lend . agent ( x _ 3 , x _ 9 ) AND guest ( x _ 6 )