You can't join the two together since one is for water supply lines in a house, the other is for drain lines. One is yellow PVC and one is white correct? The sizes won't match up even is you go from 3/4" yellow to 3/4" white. Just ran into this when I put in my water softener and whole home filtration. They recommend different glue for for each too