Walkthrough:
Go to the dog and talk to him.
Go to bottom of screen and see a stand with small barrels at left. Use the stand to get a close up of the puzzle.
Take a look at this picture -
CLICK here.You can see the dog at left side in the background.
You can also see the barrels at left.
Also beside it is that stand that looks like picture above.