This is the filter on my van - 1999 2.5 d lwb hitop

Which pipe is in? and which is the return. Also in this second pic the pipe on the left of the filter has a t junction and feed this bit of the engine? wondered what thats all about.

Sorry if its basic stuff but could do with knowing and a mate has got an identical engine that needs all new piping.
P.s am after 2 of the hard plastic pipe ends that slots into the connector on the fuel filter if anyone has any for sale.
Many thanks



