Measure and cut the ABS pipe to the desired length. Make the cut straight using a hacksaw or handsaw, and remove any burrs of plastic particles with a utility knife.
Apply ABS cement (also black in color) around the outside of the ABS pipe end and inside end of an ABS coupling.
Tighten the coupling in place by quickly pushing the coupling onto the end of the pipe, as well as turning it. Do this until the end of the pipe meets the middle of the coupling. Hold the pipe in place for five seconds until the cement dries and the joint becomes permanent.
Clean the thread on one end of the section of gas pipe using a steel brush.
Apply threading compound all around the thread, so that all parts of the thread are covered (use a small brush). Screw the pipe's thread into an existing coupling by hand.
Place a pipe wrench around the pipe close to the coupling. Tighten the pipe to the coupling by turning the wrench clockwise, until the pipe is tight. Do not make more than two full revolutions with the wrench, as this may break the threads on the pipe or inside the coupling.