Any advice? Couple of YouTube videos gave me an idea how to work with the material. But I'm not sure how much needs to be replaced

Video of what I'm currently dealing with. Seems simple enough but it's my first time dealing with PVC under pressure. I've laid drainage for playgrounds before but this is not that.