$$\frac{ r+m }{ 2r-m } =h$$
$h=-\frac{m+r}{m-2r}$
$r\neq \frac{m}{2}$
$\left\{\begin{matrix}m=-\frac{r\left(1-2h\right)}{h+1}\text{, }&r\neq 0\text{ and }h\neq -1\\m\neq 0\text{, }&r=0\text{ and }h=-1\end{matrix}\right.$