Law of Cosines, Example 5