Question 1N1 (TWN), IMO4. Find all pairs of positive integers $(x,p)$ such that $p$ is a prime, $x\le2p$, and $x^{p-1}$ is a divisor of $(p-1)^x+1$.