Locate the drain body under the sink you need to hook up to the main bathroom drainpipe. The P-trap connects to the drain body, and the trap arm connects the P-trap to the drainpipe.
Place the washer against the mouth of the drain body on the underside of the sink. Slide a coupling nut over it, and attach the P-trap to the drain body using the nut. Attach the trap arm to the P-trap using the same washer and coupling nut combination, and repeat the process to attach the trap arm to the drainpipe stub out at the wall.
Follow the same steps for installing a P-trap on a clothes washer. The only difference will be in the size of the P-trap. It needs to match the size of the drainpipe in the wall.
Install the P-trap before installing the drain assembly or laying the floor for your basement shower.
Use a trowel to dig around the drainpipe servicing the shower to free it of soil or gravel. Expose the end of the pipe beneath the shower stall, and wipe its mouth clear of dust or debris with the damp cloth.
Connect the P-trap to the trap arm using the washer and coupling nut. Attach the trap arm to the drainpipe.
Install the shower drain assembly, connecting the drain body to the P-trap whenever you are ready to put in the shower.