Destination: Treasure Island Hints

How can I help Long John and Pepita solve the ancient Mayan puzzle room?