Cut the domed top off one cake so it is flat, and cut both cakes in half through the middle, as shown.
Using chocolate frosting, sandwich together all four pieces of chocolate cake, with the flat pieces on the inside and the domed pieces on the outside ends.
Cut a few inches off the curved edge of the layered cakes. This will form the base of the pirate ship.