Place two standard doors on top of each other on the work table, with the hinge sides facing you.
Align the edges of the doors and clamp both ends with wood clamps.
Measure the height of the door and divide by five. Mark off your five sections on the hinge-side of the doors using a straight edge.
Center a hinge over a mark so that the mounting side of the hinge is flat against the side edges of the doors. Align the hinge exactly between and parallel with the height of the door. Screw the hinge into place. Use no mortise hinges. Repeat for each hinge.
Attach the guide at the top and bottom of the door. The bi-fold guide varies depending on the manufacturer of your product. Typically, the guide runs in a track mounted to the header and the floor. Follow the manufacturer's directions for mounting your bi-fold guides.