what is the correct slope for a 2" horizontal drain pipe
1/4 inch per foot is most common and is the minimum allowed. Maximum allowed is 3 inches per foot

So on a 10 foot section that would be 2.5 inches total slope minimum and 30 inches maximum.

For the second part of your question see the answer to this question.