WARNING: This page is about a different car, the 2006 Nissan Pathfinder. However, it is still accessible from the selected car via links, so may be relevant.
Refer to the following illustration for hydraulic line removal and installation.
Fig 1: Removing/Installing Of Hydraulic Line With Torque Specifications