Law of Cosines, Example 3