Let $p$ and $q$ be relatively prime integers, and let $a, b, c, d$ be the minimal solutions of
$$\begin{align} ap - bq & = 1 \\ cq - dp & = 1. \end{align} $$
Then I want to show that $$ac - bd = 1.$$
The obvious strategy of mashing on the algebra might work, but I haven't been able to make it work. For example, multiplying the first equation by $d$, the second by $a$, and adding, yields $(ac-bd)q = a+d$, which looks promising, and if I could show that $a+d=q$, I would be done. But…
I have a way to prove it but it seems roundabout, involving properties of Farey sequences:
The first two Bézout relations show that that $\frac ba,\frac pq, \frac cd$ are consecutive terms in a Farey sequence, I think. But then we know that $\frac ba, \frac cd$ are consecutive in the previous Farey sequence which omits $\frac pq$, and the third relation, $ac- bd = 1$, follows from this.
Or if you prefer, once we have the Farey sequence, $a+d = q$ (and $b+c = p$) because $\frac pq$ is the mediant of $\frac ba$ and $\frac cd$, and, as I observed in the question, once we have $a+d=q$, we win.
But I feel that there should be some more direct proof, not involving Farey sequences explicitly, or coming from the same place that the Farey sequence properties came from in the first place.