Find the total number of ways to go from A to B, if each way is the shortest route. This is a rough sketch of 2 by 2 by 2 object. I have to find the number of ways for x by x by x object and x by y by z object. I tried doing it for 1 by 1 by 1 and 2 by 2 by 2 based on manual calcualting. However I cannot find a general formula for this. I'm thinking x + y + z, but that's just a pure guess. I tried it on a paper, but it's too hard to show what I tried in this forum.