The core of this problem is to take an IV first 32 bytes of an RC4 keystream, and construct a password that when prepended to this IV is able to generate the same first 32 bytes of keystream.
Solving it required analyzing RC4 and coming up with such an algorithm.