The goal is to move the red piece out of the opening.
To start, select a piece you want to move with the cursor.
After highlighting the piece, you will be able to move the selected piece with arrow keys.
Horizontal pieces can only be moved left and right.
Vertical pieces can only be moved up and down.