This is small guide for solving puzzles for clue scrolls.
Here's a table for all possible puzzles that can be encountered while doing clues: