1246

p q a b c d

Prove $\dfrac{p}{q} = \dfrac{ab+cd}{ad+bc}$ (Ptolemy's second theorem).