This answer assumes you have a Front End Loader (FEL) installed on the tractor. And that the valves are not attached directly to the tractor that supplies the flow internally from the tractor.
The pump is already supplying flow to the FEL. That is attached to the P port on the FEL valve. That flow comes out of the FEL valve through a Tank return (T) port that has a power beyond (PB) sleeve installed in it. The fluid flows from the pump through the FEL valve out the PB sleeve and back to the tractor (probably) near the same place the P line is attached to the tractor. Then there is a third line attached to the FEL valve in a second T port that also returns to the tractor (probably) near the other two lines.
The power beyond sleeve port must be routed to the rear remote valve you are installing to the P port on the new valve. Remove the hose end at the tractor and attach it to the rear remote valve. Then there should be a line from the rear remote valve port that has the PB sleeve installed that goes back to where the power beyond hose was removed.
Then a tank return line will connect to the rear remote valve T port and be routed to the same port on the tractor as the line from the FEL valve. These two T lines can be TEEd together.
That is pretty much it.
(I think this is the real answer to your question though)
Now the hose “A” “B” and ”G” don’t really matter much except for lengths and end sizes to match the valve connection ports. So you should be able to see what hose can connect to what ports on the valves and at the tractor. If you have adapter fittings at the valves then the hose ends may all be the same JIC size and that will make it easier to just connect the length of hose that works best to the proper ports.