You need to drop the window slightly, there are two clamps which grip the glass to the regulator, you undo the bolts on the clamps with a 10mm socket. If your window is stuck fully up, you may have to fiddle with spanners or cut the remaining cables to get the window down.
if you look on YouTube and search for "freelander tailgate regulator" there is a vid on how to re-assemble it with new cables, it will become clear as to how it all fits together if you watch this a few times. I doubt you can join the cable with a chocolate block connector as it wont go over the pulleys etc.
Have a look at the vid, you will see what I mean (tip - view the video in HD it's much clearer).
Freelander Tailgate window regulator repair work - YouTube