The following laws hold for any triangle with sides and angles labeled as shown above.

Law of Sines

Law of Cosines