Before you do any soldering, make sure to slip some shrink tubing over the cord for use after you've soldered the cord back together. Solder the inner wires together first and then cover with shrink tubing. Then solder the outer wire together and cover with a larger diameter shrink tub.
Step 4: Plug it in, you're done.
That's it. Super easy if you've ever soldered anything before.