Rotate the pipes around and set them up so they connect from one to the end pipe before time runs out.
Rotate pipes and let the water flow to the other side but don't allow it to crash.