Tap one piece, then tap the spot where it belongs. The two pieces trade places. A piece in the right spot stays put.

Finished pictureThis is how it looks when every piece is in place.