Hi Westin. I'll post my paths, for you to compare. We may move
Up,
Down,
Right or
Left.
The non-Q entries are symmetrically placed around Q. Therefore, we can count just the possibilities that begin with moving up from Q and then multiply by 4.
Starting up, there are three choices for the second move (L, R and U).
Going left, without repeats, we have six paths:
U L D D
U L D L
U L L D
U L L U
U L U L
U L U R
With repeats, we have six more paths:
U L D U
U L L R
U L U D
U L R L
U L R U
U L R R
That's 12 paths total beginning with moves UL.
The second choice (after moving up from Q) is to go right. Due to symmetry, there are 12 paths beginning with UR.
The third choice is to move up. There are four such paths without repeats:
U U L D
U U L L
U U R D
U U R R
With repeats, we have five more paths:
U U L R
U U R L
U U D L
U U D R
U U D U
That's 9 paths total beginning with moves UU.
Therefore, we have a total of 12+12+9 paths beginning with U, and symmetry forms the same counts beginning with D, with L and with R.
33
×4 = 132
?