First eliminate $d$:
$$\frac{2t-\sin2t}{1-\cos2t}=\frac ab$$
Solve that for $t$. You will have to do so numerically, since this is a transcendental equation. Once you have a suitable $t$ (there might be several to choose from, or even infinitely many), computing $d$ is easy.