Toshiba Interview Question

How do you build pipe