Peg and Cat help pirates solve a puzzle and fix their sinking ship; and put back together a torn treasure map.