Check the picture below.
r = rate of the faster cyclist
r - 7 = rate of the slower cyclist
we know they both met 5 hours later, so the time each one has been cycling has been 5 hours for each.
let's say the faster cyclist on those 5 hours covered "k" kilometers, that means the slower one cover the slack, namely "255 - k" kilometers.
![{\Large \begin{array}{llll} \underset{distance}{d}=\underset{rate}{r} \stackrel{time}{t} \end{array}} \\\\[-0.35em] ~\dotfill\\\\ \begin{array}{lcccl} &\stackrel{Km s}{distance}&\stackrel{km/h}{rate}&\stackrel{hour}{time}\\ \cline{2-4}&\\ \textit{faster cyclist}&k&r&5\\ \textit{slower cyclist}&255-k&r-7&5 \end{array}\hspace{5em} \begin{cases} k=(r)(5)\\\\ 255-k=(r-7)(5) \end{cases} \\\\[-0.35em] ~\dotfill](https://img.qammunity.org/2024/formulas/mathematics/college/vugz0sxbhib2dww0390zur6hzbe9vggtj2.png)
