"Most" valves have three basic flow ports (not "work" ports or A/B ports) , one is PB or "power beyond" (suppliest hydraulic fluid to next valve in line), A P or "power" port which is input to valve body from preceding "power beyond", and a T or "tank" port when excess hydraulic fluids are return to reservoir (tank) or HST
Once you understand the sequencing of valves you can probably add you new valve anywhere in the sequence of PB/P lines between valves...
Suggest you study some about hydraulics system a bit to get a handle on concepts once you understand concepts the rest is just mechanical connections...