Guidance of matter waves through Y-junctions