Answer: they are the same!
Think about this, if R lies on segment YX then the slope of YX and YR is the same, it doesn't matter where R is on the line (I hope I understood the question right if I didn't I'm sorry!)
9.1m questions
11.8m answers