This is how I ran them.
drain.jpg
The red arrows are going to the sink/vent lines. Basically the vent going to the roof will have a sanitary tee cut in so that I can drain a sink in that line.
The white arrow is about where that pipe will be cut and it will go into the drain box in the floor
The green arrow is the trap for the floor drain
The pink arrow is the trap primer line
The grey arrow is the outlet to the septic tank. By code it must go to your tank.......sure it does Mr. Inspector.