In my basement near a corner there is a 1 1/2 pvc pipe running down the wall from the upstairs kitchen. The laundry tub is also tied into this same pipe and they flow to the right into the sewer. On the farleft of the basement is my sump pump. I want to discharge the water to the same spot. It would be about 30 feet. Where the pipe from the pump would enter is about 20" high. Do i need a special slope to angle the water towards the drain? Can it be level? I will have a check valve on it. Is this against some kind of code? Is this enough info? Want any more questions? Thanks . This group is great and lots of help.