How to plumb a toilet waste pipe?

How to plumb a toilet waste pipe?