The Laws of Sines and Cosines