Arrangements question.
Pick the three horizontal and three vertical coordinates in $\binom{5}{3}\binom{6}{3}$ ways, then permute in $6$ ways.
Pick the three horizontal and three vertical coordinates in $\binom{5}{3}\binom{6}{3}$ ways, then permute in $6$ ways.