Andy:
Look at the membrane housing. One end has a single opening in the centre, that is the water inlet - the pipe from the prefilters goes on here. The other end has two openings. The one in the middle of the housing is the pure water outlet, the one nearer the edge is the waste water outlet. There should also be some sort of control in the waste water pipe so you can adjust the ratio of waste to pure