Click on the puzzle with your mouse. This puzzle will be highlighted in white. Use the arrow keys to move the puzzles.
You win when you complete all the puzzles. If you can't, press the S key and the puzzles will automatically complete.