generalized wye and tee