Click on the square pieces.
If they can be slid horizontally or vertically
to the empty (black) space, they will slide.