Law of Cosines, Example 4