The two photos show the fuel pipe still attached to the tank, and disconnect from the fuel injector end.
The PDF file is to remove the pipe at the fuel tank. I had the ccm mobile mechanic at mine to day servicing my bike.
He showed me how to disconnect the pipe.
First disconnect the over flow pipe, then the fuel pump plug, then start the engine and run until it runs out of fuel this lets off the pressure in the pipe.
The next bit is hard, where the pipe plugs into the fitting you push the outer ring of the fitting in towards the bottom of the tank (it will only move about 2mm) till your fingers hurt, then pull the pipe out. It’s not easy.