OK, today was the day. I got the part and it was the exact part that was ordered, and it was Subaru genuine. Also the top solenoid came in from Rockauto, plus I bought some hardware and hose.
I don't remember if we discussed putting in one end or the other first, but I first tried to put the tank end into the rubber hose, and found that I had to scrape undercoating off to get the outside end in place. With some mallet help, I got that out, and then the hose end popped out! So I went back and did it reverse order. I was worried about getting the pipe end into the hose but the hose was soft enough and I did use the WD40 trick, so it went in OK. The middle bracket that mounts to the inner fender was something I had to work around. I did get it in place and got everything back together. It took much more time and was much more of a hassle than I expected, but I got it done.
I had ordered a new hose to connect to the tank, but I found out from the today that the rear differential has to be dropped to get the tank out, and I didn't see any way to get to that hose clamp, so I didn't use the hose I bought.
The reason the pipe is black is because I painted it with Rustoleum before installing it. I figured it would help this one last until the car is end of life anyway.
You can see my side by side photo....
Thanks for all the help and good advice.