How to detect drag & drop correct position Jigsaw Game

I making a game jigsaw. How to determine the correct position to drag and drop a jigsaw piece? I make game by Phaser | Html5 & Js.

enter image description here

I expecting how to make game Jigsaw & how to detect correct position when drag & drop piece