Law of Cosines, Example 1