From the figure, segment QP is in the ray RP and RP contains N and Q in between
so from the options, the two rays will be : ray QP and ray NP
For SU :
segment SU is in the ray RU and RU contains S and T in between,
so from the options again, the two rays will be : ray RU and ray SU
To find the answer make 25 equal to 6x+1
25=6x+1
25-1=24
24=6x
24/6=4
x=4
X=4