[step:Represent the negative curvature model inside Minkowski space]
Assume $k<0$, and define
\begin{align*}
\rho := \frac{1}{\sqrt{-k}}.
\end{align*}
Let $\mathbb{R}^{2,1}$ denote $\mathbb{R}^3$ equipped with the Lorentzian [bilinear form](/page/Bilinear%20Form)
\begin{align*}
\langle x,y\rangle_L := -x_0y_0 + x_1y_1 + x_2y_2
\end{align*}
for $x=(x_0,x_1,x_2)$ and $y=(y_0,y_1,y_2)$. Realize $M_k^2$ as the upper hyperboloid
\begin{align*}
H_\rho^2 := \{x \in \mathbb{R}^{2,1} : \langle x,x\rangle_L = -\rho^2,\ x_0>0\}
\end{align*}
with its induced Riemannian metric. The distance on $H_\rho^2$ satisfies
\begin{align*}
-\langle x,y\rangle_L = \rho^2\cosh\left(\frac{d(x,y)}{\rho}\right)
\end{align*}
for all $x,y \in H_\rho^2$.
Use an isometry of $H_\rho^2$ to place
\begin{align*}
\bar{p} = (\rho,0,0).
\end{align*}
Let
\begin{align*}
u &:= (0,1,0),&
v &:= (0,\cos\alpha,\sin\alpha).
\end{align*}
Then $u,v \in T_{\bar{p}}H_\rho^2$, $\langle u,u\rangle_L=\langle v,v\rangle_L=1$, and $\langle u,v\rangle_L=\cos\alpha$. The unit-speed geodesic on $H_\rho^2$ starting at $\bar{p}$ with initial velocity $w \in T_{\bar{p}}H_\rho^2$ and $\langle w,w\rangle_L=1$ is the map
\begin{align*}
\eta_w: \mathbb{R} &\to H_\rho^2\\
t &\mapsto \cosh\left(\frac{t}{\rho}\right)\bar{p}
+ \rho\sinh\left(\frac{t}{\rho}\right)w.
\end{align*}
Thus
\begin{align*}
\bar{q} &= \cosh\left(\frac{c}{\rho}\right)\bar{p}
+ \rho\sinh\left(\frac{c}{\rho}\right)u,\\
\bar{r} &= \cosh\left(\frac{b}{\rho}\right)\bar{p}
+ \rho\sinh\left(\frac{b}{\rho}\right)v.
\end{align*}
[/step]