Left click the squares near the empty square Every time you change the size, click the green flag
If the puzzle is impossible then just reset