The equation to the chord of the ellipse joining two points with eccentric angles $\alpha$ and $\beta$ is $\frac{x}{a}\cos \frac{\alpha+\beta}{2}+\frac{y}{b}\sin \frac{\alpha+\beta}{2}=\cos\frac{\alpha-\beta}{2}$
Similarly,The equation to the chord of the ellipse joining two points with eccentric angles $\gamma$ and $\delta$ is $\frac{x}{a}\cos \frac{\gamma+\delta}{2}+\frac{y}{b}\sin \frac{\gamma+\delta}{2}=\cos\frac{\gamma-\delta}{2}$
Since,first chord passes through $(d,0)$ and the second chord passes through $(-d,0)$.
$\frac{d}{a}\cos \frac{\alpha+\beta}{2}=\cos\frac{\alpha-\beta}{2}$ and
$\frac{-d}{a}\cos \frac{\gamma+\delta}{2}=\cos\frac{\gamma-\delta}{2}$
$\Rightarrow \frac{\cos\frac{\alpha-\beta}{2}}{\cos\frac{\alpha+\beta}{2}}=-\frac{\cos\frac{\gamma-\delta}{2}}{\cos\frac{\gamma+\delta}{2}}$
$\Rightarrow \frac{\cos\frac{\alpha}{2}\cos\frac{\beta}{2}+\sin\frac{\alpha}{2}\sin\frac{\beta}{2}}{\cos\frac{\alpha}{2}\cos\frac{\beta}{2}-\sin\frac{\alpha}{2}\sin\frac{\beta}{2}}=-\frac{\cos\frac{\gamma}{2}\cos\frac{\delta}{2}+\sin\frac{\gamma}{2}\sin\frac{\delta}{2}}{\cos\frac{\gamma}{2}\cos\frac{\delta}{2}-\sin\frac{\gamma}{2}\sin\frac{\delta}{2}}$
Now apply componendo and dividendo on both sides,we will get the answer.
$$\dfrac{b\sin\alpha- b\sin\gamma}{a\cos\alpha-a\cos\gamma}=\dfrac{b\sin\alpha- d}{a\cos\alpha-0}$$
$$d=b\left(\tan\dfrac{\alpha+\gamma}2+\sin\alpha\right)$$
Similarly for $(a\cos\beta, b\sin\beta);(a\cos\delta, b\sin\delta); (d,0)$
$$-d=b\left(\tan\dfrac{\beta+\delta}2+\sin\delta\right)$$
$$\tan\dfrac{\alpha+\gamma}2+\sin\alpha+\tan\dfrac{\beta+\delta}2+\sin\delta=0$$
– lab bhattacharjee Aug 26 '15 at 17:13