How do you solve the problem of Dishwasher waste and washing machine waste and one waste pipe?

Buy a branch connector