Click on one piece then on another to swap them. Aim for the minimum swaps.

Correctly placed pieces :
Number of swaps :