OK, I've fixed it now. Not easy. The original pipe has virtually no flex in it, so it can't be joined. I got some inline connectors, but the pipe wouldn't take them.
I had some silicon hose left over, so used that. That is lots more flexible, and pushed over the original pipe. All works now!