As the in figure A and B, the top left picture has been driven downward in a diagonal orientation, while the bottom right image has been shifted upward in the top left corner. The picture in the top right corner is swapped with the image in the bottom left corner.
Similarly,
In figure C and D, the top left picture has been driven downward in a diagonal orientation, while the bottom right image has been shifted upward in the top left corner. The picture in the top right corner is swapped with the image in the bottom left corner.
So, option figure (II) is the correct answer.