Well, I solve this problem, but I have not much confidence that it is true.
However, I think the approach is almost right. Please check it, and if there is some false part, let me know.
First, I translate all objects $-2$ in the direction of $x$-axis,
and $-5$ in the direction of $y$-axis.
Then $B$ become $B'(0,0)$, the origin is translated to $(-2,-5)$, and two line become $y=2x-1$, $y=\frac{1}{2}x-4$.
Assume $B'(0,0)$, $P'(t,2t-1)$, and $Q'(s,\frac{1}{2}s-4)$ lie on the one straight line.
Then the equation $t:2t-1 = s: \frac{1}{2}s-4$ holds.
Thus, $t(\frac{1}{2}s-4)=(2t-1)s$.
From this equation, we can get $s=\frac{-8}{3t-2}t$.
Thus We can say that $B'=(0,0)$, $P'=1\cdot(t,2t-1)$, and $Q'=\frac{-8}{3t-2} \cdot(t,2t-1)$.
Because the harmonic mean of $1$ and $\frac{-8}{3t-2}$ is $\frac{-16}{3t-10}$,
We can get $R'=\frac{-16}{3t-10} \cdot (t,2t-1)
= \big(\frac{-16t}{3t-10},\frac{-16(2t-1)}{3t-10}\big)$
If we let $R'=(x,y)$, then $x=\frac{-16t}{3t-10}$, and $t=\frac{10x}{3x+16}$.
Then $y=\frac{-16(2t-1)}{3t-10}=\frac{17x-16}{10}$.
By translating this line $+2$ in the direction of $x$-axis, and $+5$ in the
direction of $y$-axis,
$y-5=\frac{17(x-2)-16}{10}$, i.e., $y=\frac{17}{10}x$.
It is the desired locus.