Pipe should be 1 inch for inlet and 1 1/2 inch if the outlets need to be extended at all.
Maximum length is 30 metres. Lengths over this will be supplied in 2 or more lengths with " Free" connector.
The Larger the Size the less the back pressure and therefore an increase in flow rate.