What are all these lines?  There are 4 rigid lines and one that is flexible.  I know one is a brake line and then I am assuming one is gas and one is e-brake.  What is the third?
Also, how hard is it to replace any of these (and what steps are involved)?  I hit a huge rock on the highway just now and it busted my brake line.  I can't tell if the others are split open or not yet. 
Luckily, as soon as it happened I pulled over and saw the brake fluid leaking.  I was close enough to home to make it before all my fluid was lost, but now it looks like I will be spending the weekend replacing that line 

 .