RE: Ptolemy's Theorem and Cosines - How Does This Work?