I am usually one to favor a quick and dirty fix, if I think it is worth a try and harmless.
But in this case, I would not approve of what you did there.
Too much potential for major damage if/when that patch starts to leak again.
It looks like you might already have some mold starting to grow on the wall behind the pipes, no need to feed it moisture so it takes over the whole area.
You should really scrounge up some money to have a plumber or handyman cut out the old pipe where it failed, and splice it with something solid.
As mentioned above, it pbly is polybutylene.
That was a technology that failed, and many trailers and RV’s have needed to be entirely re-plumbed, because one leak usually is the first of many more elsewhere.
As wood4d stated in reply #18, you can get an adapter to transition from that pipe to a length of pex.
That PBP is pretty stiff when it gets old, and it already is suspect as far as strength, so I would suggest a way to repair it with very low stress to the old pipe.
You can cut out about a foot and a half of the old pipe, then splice in a long piece of pex that is carefully formed into a loop.
That way, you don’t have to wrestle with the old pipe, trying to get a straight piece of pex in between the cut ends of the old pipe.
But pex is pretty flexy, maybe with a long enough piece a loop might not be needed.
Just an idea.
Maybe your church or county has a free or discounted repair service listing for seniors, I bet they do.
At the very least, turn off the shutoff valves when you are not washing clothes, as was suggested.