To install a fuel pump check the engravings on each inlet.
One has a “P” for pressure which is the hose coming from the engine.
The other is an arrow pointing inward which is the line coming from the fuel tank.
The other is an arrow pointing outward which is the line going to the carburetor.