The bathroom plumbing diagram shown here will meet the requirements ... short length leading from the toilet to the drain, and a 2-inch PVC for the other drain lines and the vents.