All you need to do is to rotate pipes, connect them and make a working pipeline.
Tap the screen to rotate pipes.