The cake was rented to a giraffe by a girl .
* cake ( x _ 1 ) ; rent . theme ( x _ 3 , x _ 1 ) AND rent . recipient ( x _ 3 , x _ 6 ) AND rent . agent ( x _ 3 , x _ 9 ) AND giraffe ( x _ 6 ) AND girl ( x _ 9 )