The final answer is thus 13.
Since 10 = 1 (mod 9), the above argument works the same mod 9.
For 11, note that
To see that this is true, we will pair up each term of the product with its multiplicative inverse. Note that 1 and -1 are there own multiplicative inverses. For every other number, that number and its multiplicative inverse are distinct. (I've proven this below as a lemma.) Accepting this fact as true, we then have that all the terms in (p-1)! cancel out except for 1 and -1. Thus
Proof: x = x-1 (mod p) &rArr x2=1 (mod p)
&rArr p | x2-1
&rArr p | (x-1)(x+1)
&rArr p | x-1 or p | x+1 (Euclid's lemma)
&rArr x = 1 (mod p) or x = -1 (mod p)
(Note that this lemma is not true is p weren't prime!)