Cut the pipe according to your desired length by using a pipe cutter.Then join these sections using PEX fitting and push-fit ...