Here's an image.
I find it difficult to see how you can mix up the input lines.
Don't forget the input line on the right of the image has a fuel filter under it.
The arrows are actually pointing to the lines that go off to the injectors - but you can get the idea.