There is a wiki for this quest https://the-forgotten-island.fandom.com/wiki/Puzzles#Quest_%E2%80%9CThe_only_way%E2%80%9D