Lay the drainage pipe in the exit drainage trench. The pipe just has to lie flat in the trench, and other pipes will be connected to it afterward.
Lay the drainage pipe on the inside of the concrete footings and out through the hole in the footing. Another drainage pipe should go along the outside of the concrete footing. These two drainage pipes are then connected together with the appropriate-sized fittings.
Connect the inside and outside drainage pipes to the pipe in the exit trench, using the appropriate-sized fittings.
Choose an appropriate basement location where the drain is to be placed and saw a small piece out of the drainage pipe. Install a T-adapter that will stick up through the floor.
Surround the drainage pipes with crushed gravel to prevent sand from entering through the drainage pipes. Fill the floor with crushed gravel, or cover it with concrete. The basement drainpipe can then be cut down to size and a drain covering can be glued on top of the drainpipe.