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!)
3.5m questions
4.5m answers