Assuming you are talking about two drain hoses for a washing machine:
There are a few ways to connect two drain hoses together, depending on the materials of the hoses and the type of connection you are looking for. If both hoses are made of PVC, you can use a PVC coupling to connect the hoses together. To do this, simply line up the ends of the hoses so that they are flush and then screw on the coupling. If one of the hoses is made of PVC and the other is made of rubber, you can use a rubber coupling to connect the hoses. Again, line up the ends of the hoses so that they are flush and then screw on the coupling.
If you are looking for a more permanent connection, you can use a hose clamp to connect the hoses together. To do this, line up the ends of the hoses and then put the hose clamp around the point where the hoses