Looking to figure out how I can join these to the drainage that goes to the sewer. I guess I need to get a drainage trap like this , but not sure what else is needed to join the black pipe (shower) and grey pipe (sink and diswasher)
The drainage pipe goes down into an elbow into the sewer...