For creating this Gallery sample you should use the technique that was described in details in the
Simple Integration part of the
Embedding an Object into the Puzzle Pieces tutorial.
Here, two large pieces are the Object (in terms of the mentioned above tutorial), which are embedded into the small pieces.