It's way too complicated to explain here, and you need the diagrams. I suggest you read the relevant pages in the manual, starting here:
http://recoveryvehicles.tpub.com/TM-5-4240-501-14P/css/TM-5-4240-501-14P_165.htm

Just click on the page title below "Next" for each new page.