Correct answer is (a) 12.5%
The best I can explain: Since there are infinitely many possible outcomes for the value of X we will take the equally likely outcomes as random points along the number line from 5 to 9. R will be closer to 5 than it is to 6 if R<5.5. We can easily see it by drawing a probability line. Here, P(R is closer to 5 than to 6) = (length of segment where 5<R<5.5)/(length of segment where (5<R<9) = 0.5/4 = 0.125 = 12.5%.