Consider the third example. The matrix
147258369
Then we choose the whole matrix as transposed submatrix and it becomes
123456789
Then we transpose the submatrix with corners in cells (2,2) and (3,3).
123456789
So matrix becomes
123458769
and it is B.