I'm sure we all appreciate your interest in learning, and recovering some bits from the device, but in all honesty, if you have to ask "how to wire up a mains power cable" in a forum - I'd seriously take a step back before you do anything.
Do you have kids, pets... the chances of an accident are small, but very real.
When you pass the box on to a relative - will it have a warning sticker that the case may be 'hot'?
You can buy an off-the-shelf power supply, and connect to the secondary side of the transformer - or something less dangerous until you have a better grasp of the fundamentals.