I wonder if this is possible, so I have two 2D arrays:

```
X[7][9] = 10
Y[7][9] = 5 

```

From above info I want to create following two 2D arrays:

```
X'[5][10] = 9
Y'[5][10] = 7

```

Is it possible to accomplish this? Values of X and Y are bounded and won't exceed shape of X and Y. Also X and Y has the same shape. 

thanks in advance.