I tried to looking it up on the game's wiki but there is barely anything helpful on there. Especially for the jewel puzzle.