See this diagram.
I would drain hydraulic fluid down or empty if it will leak out of the holes.
Then remove the filter bracket bolt(s) and the bolts in the pipe tabs.
Then pull it all off.
Put the tube and orings into the filter housing and install the bolt. Not sure if you should tighten it or leave some movement, but you can decide that.
Put orings on the other end of the tube and install it into the transmission hole and get the bolt started on the filter bracket. Then start bolt thr the tab and into the transmission case.
Tighten that bolt up, then the other end’s bolt then the bolt for the filter bracket.
Fill transmission, start and run, check for leakage…
or something like that…