Law of Cosines, Example 2