Law of Cosines, Example 6